I am trying to write a C++/Qt program for linux, where I take a still image photo from a webcam, make some transformations to a photo (cropping, resizing, etc.), and save it to
**Download And Install 'mplayer'** mplayer -vo png -frames 1 tv://