¡@

Home 

2014/10/15 ¤U¤È 10:14:29

iphone Programming Glossary: stillimageoutput

iPhone AVFoundation camera orientation

http://stackoverflow.com/questions/3662930/iphone-avfoundation-camera-orientation

videoConnection AVCamDemoCaptureManager connectionWithMediaType AVMediaTypeVideo fromConnections self stillImageOutput connections if videoConnection isVideoOrientationSupported videoConnection setVideoOrientation AVCaptureVideoOrientationPortrait.. isVideoOrientationSupported videoConnection setVideoOrientation AVCaptureVideoOrientationPortrait self stillImageOutput captureStillImageAsynchronouslyFromConnection videoConnection completionHandler ^ CMSampleBufferRef imageDataSampleBuffer..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

http://stackoverflow.com/questions/3847140/iphone-sdk-4-avfoundation-how-to-use-capturestillimageasynchronouslyfromconnec

preview will freeze. Is there any tutorial out there how to use captureStillImageAsynchronouslyFromConnection self stillImageOutput captureStillImageAsynchronouslyFromConnection self stillImageOutput .connections objectAtIndex 0 completionHandler ^ CMSampleBufferRef.. self stillImageOutput captureStillImageAsynchronouslyFromConnection self stillImageOutput .connections objectAtIndex 0 completionHandler ^ CMSampleBufferRef imageDataSampleBuffer NSError error NSLog @ inside.. self.view.layer addSublayer self.prevLayer Setup the default file outputs AVCaptureStillImageOutput _stillImageOutput AVCaptureStillImageOutput alloc init autorelease NSDictionary outputSettings NSDictionary alloc initWithObjectsAndKeys ..

Capturing Images from AVCaptureSession

http://stackoverflow.com/questions/8264749/capturing-images-from-avcapturesession

that function again. IBAction captureNow AVCaptureConnection videoConnection nil for AVCaptureConnection connection in stillImageOutput.connections for AVCaptureInputPort port in connection inputPorts if port mediaType isEqual AVMediaTypeVideo videoConnection.. videoConnection connection break if videoConnection break NSLog @ about to request a capture from @ stillImageOutput stillImageOutput captureStillImageAsynchronouslyFromConnection videoConnection completionHandler ^ CMSampleBufferRef.. connection break if videoConnection break NSLog @ about to request a capture from @ stillImageOutput stillImageOutput captureStillImageAsynchronouslyFromConnection videoConnection completionHandler ^ CMSampleBufferRef imageSampleBuffer..

How to write exif metadata to an image (not the camera roll, just a UIImage or JPEG)

http://stackoverflow.com/questions/9006759/how-to-write-exif-metadata-to-an-image-not-the-camera-roll-just-a-uiimage-or-j

but here is the method In this case im getting the image through AVFoundation and this is what goes in the self stillImageOutput captureStillImageAsynchronouslyFromConnection videoConnection completionHandler ^ CMSampleBufferRef imageSampleBuffer..