On Mar 23, 2011, at 10:26 AM, Dave Rice wrote:
> Hi Joel,
> On Mar 23, 2011, at 9:45 AM, Richard, Joel M wrote:
>> Morning, all!
>> I thought I'd crowdsource this question. 8+ hours of beating up on this and I haven't found a good solution.
>> We have some software that processes the scanned pages of a book. They come to me as TIFF and I am converting to JP2 in order to upload to the Internet Archive. The trouble is that I can't find a reliable piece of code or a process to add XMP metadata to the JP2. (FWIW, we're using the Jasper library)
>> - exiftool doesn't seem to be working either.
> exiftool works for me. Can you send the command you're testing?
> If I run:
> exiftool -tagsfromfile source.tiff output.jp2
> then I do get the XMP copied from the tiff to the jp2.
Although a problem with this approach is that now an XMP that describes a tiff is embedded in a jp2. Perhaps you could parse the source XMP for selects and then use exiftool to write relevant tags to the output file.
> Best Regards
> Dave Rice