¡@

Home 

2014/10/15 ¤U¤È 10:08:36

iphone Programming Glossary: exifdictionary

Problem setting exif data for an image

http://stackoverflow.com/questions/5125323/problem-setting-exif-data-for-an-image

to it NSMutableDictionary metadataAsMutable metadata mutableCopy autorelease metadata release NSMutableDictionary EXIFDictionary metadataAsMutable objectForKey NSString kCGImagePropertyExifDictionary mutableCopy autorelease NSMutableDictionary GPSDictionary.. GPSDictionary metadataAsMutable objectForKey NSString kCGImagePropertyGPSDictionary mutableCopy autorelease if EXIFDictionary if the image does not have an EXIF dictionary not all images do then create one for us to use EXIFDictionary NSMutableDictionary.. if EXIFDictionary if the image does not have an EXIF dictionary not all images do then create one for us to use EXIFDictionary NSMutableDictionary dictionary if GPSDictionary GPSDictionary NSMutableDictionary dictionary Setup GPS dict GPSDictionary..

How to write exif metadata to an image (not the camera roll, just a UIImage or JPEG)

http://stackoverflow.com/questions/9006759/how-to-write-exif-metadata-to-an-image-not-the-camera-roll-just-a-uiimage-or-j

attMat GLKMatrix4Make m.m11 m.m12 m.m13 0 m.m21 m.m22 m.m23 0 m.m31 m.m32 m.m33 0 0 0 0 1 NSMutableDictionary EXIFDictionary __bridge NSMutableDictionary CFDictionaryGetValue mutable kCGImagePropertyExifDictionary EXIFDictionary setValue NSStringFromGLKMatrix4.. EXIFDictionary __bridge NSMutableDictionary CFDictionaryGetValue mutable kCGImagePropertyExifDictionary EXIFDictionary setValue NSStringFromGLKMatrix4 attMat forKey NSString kCGImagePropertyExifUserComment CFDictionarySetValue mutable kCGImagePropertyExifDictionary.. NSString kCGImagePropertyExifUserComment CFDictionarySetValue mutable kCGImagePropertyExifDictionary __bridge void EXIFDictionary NSData jpeg AVCaptureStillImageOutput jpegStillImageNSDataRepresentation imageSampleBuffer After this code you will have..