Possible Duplicate:
Access metadata (exif tags) of image taken by UIImagePickerController - iOS/iPhone
How to get image metadata in ios
I have some image file in the iOS application local folder. How can i get it's metadata?
Possible Duplicate:
Access metadata (exif tags) of image taken by UIImagePickerController - iOS/iPhone
How to get image metadata in ios
I have some image file in the iOS application local folder. How can i get it's metadata?
You can use the ImageIO Framework like explained in QA1654:
To access the image properties you:
- create a CGImageSourceRef for your image.
- get a copy of the image properties dictionary by calling CGImageSourceCopyPropertiesAtIndex.
- access the values in the dictionary by calling CFDictionaryGetValue with the property key that you are interested in. The available keys are located in the CGImageProperties Reference.
You can get its metadata with the ImageIO
framework.
http://developer.apple.com/library/mac/#documentation/graphicsimaging/conceptual/ImageIOGuide/imageio_intro/ikpg_intro.html