Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVCaptureStillImageOutputMBS class.
AVCaptureStillImageOutputMBS.jpegStillImageNSDataRepresentation(jpegSampleBuffer as CMSampleBufferMBS) as memoryblock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
jpegSampleBuffer: The sample buffer carrying JPEG image data, optionally with Exif metadata sample buffer attachments.
This method throws an NSInvalidArgumentException if jpegSampleBuffer is nil or not in the JPEG format.
Returns memoryblock representation of jpegSampleBuffer.
This method merges the image data and Exif metadata sample buffer attachments without re-compressing the image.
The returned memoryblock object is suitable for writing to disk.
Available in OS X v10.7 and later.
The items on this page are in the following plugins: MBS AVFoundation Plugin.