iphone Programming Glossary: cgimagedestinationref
Problem setting exif data for an image http://stackoverflow.com/questions/5125323/problem-setting-exif-data-for-an-image NULL Reading it out it appears valid. Saving an image out works but there is never any exif data in the image. CGImageDestinationRef myImageDest CGImageDestinationCreateWithURL CFURLRef docurl kUTTypeJPEG 1 NULL Add the image to the destination using previously.. CFStringRef UTI CGImageSourceGetType source this is the type of image e.g. public.jpeg this will be the data CGImageDestinationRef will write into NSMutableData dest_data NSMutableData data CGImageDestinationRef destination CGImageDestinationCreateWithData.. public.jpeg this will be the data CGImageDestinationRef will write into NSMutableData dest_data NSMutableData data CGImageDestinationRef destination CGImageDestinationCreateWithData CFMutableDataRef dest_data UTI 1 NULL if destination NSLog @ Could not create..
Problem with CGImageDestination and file naming http://stackoverflow.com/questions/7301718/problem-with-cgimagedestination-and-file-naming guidPath NSString path tmpPath stringByAppendingPathExtension @ gif NSLog @ Path as string @ path CGImageDestinationRef destination CGImageDestinationCreateWithURL CFURLRef NSURL fileURLWithPath path kUTTypeGIF captureArray count NULL NSDictionary..
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 UTI CGImageSourceGetType source this is the type of image e.g. public.jpeg NSMutableData dest_data NSMutableData data CGImageDestinationRef destination CGImageDestinationCreateWithData __bridge CFMutableDataRef dest_data UTI 1 NULL if destination NSLog @ Could..
Get Exif data from UIImage - UIImagePickerController http://stackoverflow.com/questions/9766394/get-exif-data-from-uiimage-uiimagepickercontroller sourceOptionsDict objectForKey @ kCGImageSourceTypeIdentifierHint componentsSeparatedByString @ . objectAtIndex 1 CGImageDestinationRef dr CGImageDestinationCreateWithURL __bridge CFURLRef fileURL __bridge CFStringRef sourceOptionsDict objectForKey @..
|