cut images from video file