Imagecapture from Mac
ImageSnap
kopiert von [ImageSnap|http://www.example.com Link-Text], dort gibt es weitere interessante Anleitungen.
Capture Images from the Command Line
Download v0.2.5 (44k) http://prdownloads.sourceforge.net/iharder/ImageSnap-v0.2.5.tgz
ImageSnap is a Public Domain command-line tool that lets you capture still images from an iSight or other video source. You might remember Axel Bauer's original isightcapture tool (that is no longer supported but still works on most systems). With ImageSnap I hope we'll be able to move forward and add features, adapt to the ever-changing Apple architectures, etc.
Follow the file release RSS feed...
Installation
Copy the imagesnap file to someplace on your path like /usr/local/bin, or leave it in a "current directory," and call it with ./imagesnap instead.
Enjoy!
Usage
To capture an image simply run the program from the command line.
$ imagesnap
Capturing image from device "iSight"..................snapshot.jpg To specify a filename, make that your last argument:
$ imagesnap icu.jpg
Capturing image from device "iSight"..................icu.jpg If you have multiple video devices attached to your computer, use the -l ("el") flag to list them:
$ imagesnap -l
Video Devices: iSight DV To select a specific video device use the -d device flag:
$ imagesnap -d DV
Capturing image from device "DV"..................snapshot.jpg To output a jpeg representation to standard out (stdout), use a dash for the filename:
$ ssh johndoe@somewhere.com /usr/local/bin/imagesnap - > snapshot.jpg $ open snapshot.jpg
Thanks to Bas Zoetekouw for adding timelapse capability. Freebie: if you want to convert the fielnames, which have dates embedded in them, to a simple serial number for use with QuickTimer Player 7, try this:
for f in *.jpg; do mv $f ${f:0:14}.jpg; done
All commands:
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. Supported image types: JPEG, TIFF, PNG, GIF, BMP
-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
I use
/Applications/Utilities/ImageSnap/imagesnap /Users/katrin/Sites/image.jpg
iSightCapture
http://macosx.com/forums/howto-faqs/297484-howto-isightcapture-command-line-security-workaround.html
Capture iSight Images Using the Command Line
kopiert von hier: http://osxdaily.com/2007/01/24/capture-isight-images-using-the-command-line/
We all know that Photo Booth is great fun and is sure to entertain our friends and family with the goofy effects. But what if you want to take pictures using your iSight from the command line? Unfortunately Apple doesn’t provide this option (at least that we know of), but thanks to a crafty individual named Axel Bauer, we have a command line tool available for the task. Being able to capture images from the command line opens up many interesting possibilities, and we name a few potential uses.
Installation of iSightCapture is very simple, place the isightcapture tool in /usr/sbin (or elsewhere if you’d prefer) and you’ll be able to run the command line tool, with the following options:
-v : output version information and exit -d : enable debugging messages. Off by default -n : capture nth-frame -w : output file pixel width. Defaults to 640 pixels. -h : output file pixel height. Defaults to 480 pixels. -t : output format – one of jpg, png, tiff or bmp. Defaults to JPEG.
Using the tool is easy, and here are a few examples (from the readme.rtf):
$ ./isightcapture image.jpg
will output a 640×480 image in JPEG format
$ ./isightcapture -w 320 -h 240 -t png image.png
will output a scaled 320×240 image in PNG format