Photo Booth saves photos in JPG and I find it a bit tedious to convert from JPG to PNG. I’m not using Automator anymore for this.
For some reason when I use imagesnap, it can only save in JPG.
So what software program could I use to make my webcam pictures in PNG? There is a Python script written by machine learning researchers that can only accept PNG (see here).
imagesnap -h
Capturing image from device "<imagesnap-master
USAGE: ./imagesnap [options] [filename]
Version: 0.2.5
Captures an image from a video device and saves it in a file.
If no device is specified, the system default will be used.
If no filename is specfied, snapshot.jpg will be used.
JPEG is the only supported output type.
-h This help message
-v Verbose mode
-l List available video devices
-t x.xx Take a picture every x.xx seconds
-q Quiet mode. Do not output any text
-w x.xx Warmup. Delay snapshot x.xx seconds after turning on camera
-d device Use named video device
Best Answer
The version of
imagesnap
distributed through Homebrew (and available on https://github.com/rharder/imagesnap) doesn't support PNG. Apparently support for other formats besides JPG was removed when QTKit got replaced by AVFoundation.If you download 0.2.5 directly from http://iharder.sourceforge.net/current/macosx/imagesnap/ you get a version which also supports other formats.