简体   繁体   中英

DNG image resolution iOS?

I'm trying to figure out a way to read DNG image resolution without actually loading the image using CIFilter. So far I tried:

  • CGImageSourceCopyMetadataAtIndex - doesn't have any resolution info at all in returned dictionary
  • CGImageSourceCopyPropertiesAtIndex - has only resolution of the embedded preview image

What do I miss? I'm sure there are apps that read that info somehow or do they use 3d party libs like libexif?

Never mind. CIFilter does not process the image unless it's rendered. But the image properties are available immediately through CIImage

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM