Search

Top Posts

Comments

  • Zachary Waldowski: The Nvidia 9400M, which is on anything current but the high-end MacBook Pros, high-end iMacs, and...
  • Pona: good good :)
  • Porno İzle: very nice thank you
  • Mitch Haile: Normally I don’t reply to this stuff, but since you _are_ calling me a liar, 1. It’s a...
  • David: unfortunately this photo has either been doctored or is a complete fake. hopefully its the former 6 monitors...

Categories

Recent Posts


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

Other than the obvious usages, there are a some creative ideas floating around for use with this utility, our favorite being Dylan O’Donnell’s script that takes a picture on system wake and uploads it to a website, creating a nice photo collage. The results are quite interesting, check out his site for the script and a demonstration of the effect. Of course, you could also ssh/telnet into a Mac running this tool and take pictures of the user without them knowing, or even create a security system of sorts by writing a simple script that automates picture taking. The possibilities are numerous…

iSightCapture Developer home
Dylan O’Donnell’s script and example
Download iSightCapture

Posted by: Editor

Share

Save big on Mac Deals from Amazon.com

Comments:

Comments: 9

Comment from Jubish
Time: January 24, 2007, 4:55 pm

I have all sorts of nefarious uses for this program, cool tip!

Comment from Anonymous
Time: January 25, 2007, 4:40 pm

YOU’RE nefarious.

Comment from Jubish
Time: January 25, 2007, 4:42 pm

No you are.

Comment from Jubish
Time: January 25, 2007, 4:43 pm

Okay okay.. so maybe I am.

Comment from Jubish
Time: January 25, 2007, 4:43 pm

Why am I talking to myself?

Comment from Jubish
Time: January 25, 2007, 4:44 pm

My name is Jubish

Comment from super cialis
Time: November 23, 2009, 2:33 am

nd 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.

Comment from www.cymbalta.com
Time: December 6, 2009, 4:50 am

My name is Jubish

Comment from www.flomax.com
Time: December 6, 2009, 5:12 am

have all sorts of nefarious uses for this program, cool tip!

Write a comment






January 24th, 2007