Takes a snapshot of a region of the screen
