ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:42 AM

Title: Question to creation of MIE file
Post by: Archive on May 12, 2010, 08:54:42 AM
[Originally posted by herb on 2009-11-10 18:54:08-08]

Hello,

I have a picture which contains only EXIF-metadata.
I backuped this metadata with command: exiftool -TagsFromFile pic1.jpg -all pic1.mie

The created MIE-file had a size of 68KB and contained
- the EXIF-metadata from file pic1.jpg (of course) and
- some additional metadata-groups like MIE-Preview, MIE-Thumbnail etc.
- and it contained XMP metadata: xmp-x, xmp-aux, xmp-exif and xmp-tiff.
     
I repeated this test using the command: exiftool -TagsFromFile pic1.jpg -all:all pic1.mie
Here the created MIE-file had only 9 KB and it contained only the EXIF metadata.
     
Now my questions:
(1)why do we have the described difference using tags: -all and -all:all ?
  I had expected an identical result MIE-file.
(2) why does the "-all" MIE-file also contain XMP-metadata.
  I could imagine that some MIE-specific tag-groups are created.
  But I did not expect XMP metadata.

I hope that someone can answer/comment my questions.
Thanks in advance
Title: Re: Question to creation of MIE file
Post by: Archive on May 12, 2010, 08:54:42 AM
[Originally posted by exiftool on 2009-11-10 21:01:11-08]

Hi Herb,

This is the relevant section of the -tagsFromFile
documentation:

Code:
           By default, this option will commute information between same-
            named tags in different groups and write each tag to the preferred
            group.  This allows information to be automatically translated
            when copying between images of different formats.  However, if a
            group name is specified for a tag then the information is written
            to the original group (unless redirected to another group, see
            below).  This works even if "All" is used as a group name, so
            "-All:All" is used to specify that all information be copied to
            the same group in the destination file.

So specifying a group name prevents exiftool from moving the
tag to its preferred group, thus keeping it in the original location.
When this is done while copying EXIF to a MIE file, this prevents
the equivalent XMP and MIE tags from being generated.

I hope this makes sense.  Basically it's an easy (but sneaky) way
to give you control over where the information is written.

- Phil
Title: Re: Question to creation of MIE file
Post by: Archive on May 12, 2010, 08:54:42 AM
[Originally posted by herb on 2009-11-11 18:25:29-08]

Hello Phil,
Thanks for the quick and detailed answer and thanks for the very good job of exiftool.

Yes, your solution makes sense; I fully agree to it.