Image-ExifTool - Re: Metadata changes when copying from JPG to MIE

Posted on Sun Apr 15 21:24:27 2007 by exiftool in response to 4882 (See the whole thread of 3)
Re: Metadata changes when copying from JPG to MIE
Hi Scott,

Yes, this is expected. These tags are all considered "unsafe" to copy by default since they may change they way an image is rendered. And since the YCbCrPositioning tag is mandatory by the specification, ExifTool uses a default value for this tag since it wasn't copied from the image. In the Tag Name documentation, unsafe tags have an exclamation point after the format name in the Writable column.

Unsafe tags must be specified explicitly if you want to copy them from the source image. ie)

exiftool -tagsfromfile test1.jpg -all:all -all:ycbcrpositioning -all:interopindex \ -all:interopversion -o test1.mie

(note that I used the "all:" group on these tags to preserve the locations of these tags as you are doing with the others.)

I realize this is a bit of a pain, but the alternative of potentially harming destination images is far worse.

- Phil
Direct Responses: 4930 | Write a response