I want to read and edit EXIF, IPTC and XMP metadata of an images using cocoa.
I can read the EXIF metadata using
NSBitmapImageRep * imageTest = [NSBitmapImageRep imageRepWithContentsOfFile:filePath] ;
NSLog(@"Exif Data in %@ : %@",fileName, [imageTest valueForProperty:@"NSImageEXIFData"]) ;
How can I modify this data?
Thanks Saurabh
Use CGImageSource to read it in and CGImageDestination to write it back out.