saves video frame as image