Question
Writing EXIF data like XMP
I'm trying to write a little script to upload my photos from Bridge to Flickr. I shoot in DNG, and Flickr won't accept RAW files, so I'm converting the files to JPEG using the BitmapData to export a new file. I want to try and preserve all the EXIF data from the file because Flickr can read this and display it, and if I take one of the photos into Photoshop and save it out as a JPEG it does preserve the data.
The only method I can find to try and do this in scripting seems to be to serialize the Metadata object from the Thumbnail that I am reading from, make a new XMPFile out of the newly exported JPEG and open it for update, and then run putXMP with the serialized Metadata. This succeeds in writing the XMP data, but does not appear to properly preserve the EXIF data. Neither Flickr nor Mac OS X Get Info can detect any data about the new file other than the date.
Any help in this is appreciated,
Thanks,
Greg
The only method I can find to try and do this in scripting seems to be to serialize the Metadata object from the Thumbnail that I am reading from, make a new XMPFile out of the newly exported JPEG and open it for update, and then run putXMP with the serialized Metadata. This succeeds in writing the XMP data, but does not appear to properly preserve the EXIF data. Neither Flickr nor Mac OS X Get Info can detect any data about the new file other than the date.
Any help in this is appreciated,
Thanks,
Greg
