Re: CGImage failed to write Exif Auxiliary metadata to image
Re: CGImage failed to write Exif Auxiliary metadata to image
- Subject: Re: CGImage failed to write Exif Auxiliary metadata to image
- From: "Ken Ferry" <email@hidden>
- Date: Tue, 12 Aug 2008 13:20:17 -0700
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@hidden> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden