Hi,
I'm trying to save RAW photos using iOS but the problem is
availableRawPhotoPixelFormatTypes
always returns 0 elements unless I set sessionPreset
to AVCaptureSessionPresetPhoto
. I've tried all the formats available for my AVCaptureDevice
but none of them allows me to save RAW photos. How is that possible? Same format used for session preset won't allow me to save RAW when I activate it directly (through activeFormat
). Any ideas what am I missing here?I can't use session presets since it only allows you to take picture in the highest resolution.
Thanks