开发者

meta/exif-data from captureStillImageAsynchronouslyFromConnection missing

开发者 https://www.devze.com 2023-03-02 05:25 出处:网络
When I capture still images with the captureStillImageAsynchronouslyFromConnection method of AVCaptureStillImageOutput together with the AVCaptureSessionPresetPhoto, trying to retrieve exif data with

When I capture still images with the captureStillImageAsynchronouslyFromConnection method of AVCaptureStillImageOutput together with the AVCaptureSessionPresetPhoto, trying to retrieve exif data with CMGetAttachment an开发者_运维百科d kCGImagePropertyExifDictionary from the CVImageBuffer gives back NULL. I especially need the ISO-rating of the last taken photo. How can I retrieve that information?


The problem was, that I used CMGetAttachment with the CVImageBuffer, but I had to use it with the CMSampleBuffer.

0

精彩评论

暂无评论...
验证码 换一张
取 消