views:

161

answers:

2

Is it possible to simply take a picture and save it somewhere using a QTCaptureView and Apple's built-in iSight? I've seen lots of tutorials on recording video but none on simply taking a picture. Any help or guidance is appreciated!

  • Collin
+1  A: 

You can do this with QTKit - the QTKit Application Programming Guide has a section for this titled, "Creating a Single-Frame Grabbing Application".

The better approach, however, is ImageKit's PictureTaker. It gives you the standard UI found in ImageBooth and other apps and is dead-simple to use in code.

Joshua Nozzi
A: 

I found the source of ImageSnap useful for understanding how to use QTKit to do this sort of thing. It is a simple command line application for taking pictures with the iSight camera.

Jud