fsphil / fswebcam

A neat and simple webcam app
http://www.sanslogic.co.uk/fswebcam/
GNU General Public License v2.0
416 stars 87 forks source link

Allow dumpframe to pipe to stdout #22

Closed philippsimon closed 5 years ago

philippsimon commented 9 years ago

At the moment dumpframe can't be piped to stdout which is be quite useful for fast conversions with imagemagick convert like this one:

fswebcam --resolution 2592x1944 --palette Y16 --dumpframe - | \
    convert -size 2592x1944 -depth 16 gray:- test.png
fsphil commented 9 years ago

That's an interesting idea. The dumpframe function was never intended to be used for anything more than debugging, and it doesn't really fit in with the rest of the program. It would be better if there was a --raw option, to go alongside --png and --jpeg. I'll take a look shortly.

fsphil commented 5 years ago

I've pushed a version of this feature to github. Sorry for the delay, I got distracted for nearly four years ;-)