Hi Rawitat, (1) You'll need to post your code for help on this. (2) This is probably more appropriate for the CoreGraphics list, <http://lists.apple.com/mailman/listinfo/quartz-dev>.
-Ken On Sun, Aug 10, 2008 at 7:00 AM, Rawitat Pulam <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having problems trying to write photo metadata. Actually, I want to copy > all metadata I could get via the CGImageSourceCopyPropertiesAtIndex function > to the destination image (CGImageDestinationRef). > > Reading the metadata isn't a problem. I could get all that are available. > Simple NSLog of the properties confirmed this. > > The problem is when writing the metadata to the destination image. I tried > both CGImageDestinationAddImage and use the properties as the option > dictionary, and also tried CGImageDestinationSetProperties. Both didn't > work. The metadata in the ExifAux dictionary of the properties, read > correctly from the function mentioned above, failed to be written to the > output image. I happen to need one of the metadata in that dictionary > (LensModel). > > I looked in the CGImage Properties, it should support the Exif Auxiliary > metadata and even have key defined for lens model. However, somehow it can't > write the output image with that dictionary. > > I'm using Mac OS X 10.5 and ImageIO framework 2.0.2 and already have Xcode > set the project so it use 10.5 SDK, not 10.4. > > Is there anyway I could overcome this? Or is it a limitation of current > CF/ImageIO framework? > > Best regards, > Rawitat Pulam > > ------------------------------------------------------------ > Rawitat Pulam > Lecturer > Department of Computing, Faculty of Science > Silpakorn University, Sanam Chandra Palace Campus > Nakornpathom, Thailand > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/kenferry%40gmail.com > > This email sent to [EMAIL PROTECTED] > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]