Cut out an image