When creating a raw image with CIFilter, I need to provide and identifier hint for the raw image decoder. How do I do this?
The following code does not populate the dictionary and CIFilter returns nil.
How would I do this correctly? I am completely stuck.
The following code does not populate the dictionary and CIFilter returns nil.
How would I do this correctly? I am completely stuck.
Code Block let rfo = [ String(kCGImageSourceTypeIdentifierHint) : "com.sony.raw-image" ] as! [CIRAWFilterOption:Any] let cii = CIFilter(imageData: data , options: rfo).outputImage