← Back to team overview

hugin-devs team mailing list archive

[Bug 1507801] Re: Not all metadata copied

 

That's not a bug, it's a feature.
After stitching the original metadata does not apply to the final image any more. E.g. focal length, field of view and exposure time are different from the input image.
Copying all would also copy an existing thumbnail which is incorrect for the stitched image.
Therefore by default we copy only a subset of the metadata which are also valid for the stitched image.

So this will not change in the code base.

But we provide a way for the user to select for him itself, which metadata to copy. This can be done with exiftool argfiles (see exiftool manual for details about these argfiles, switch -@).
There are 2 different argfiles
1.) An intermediate argfile: this is used when copying metadata to intermediates images (remapped images, fused stacks, blended exposure layers). This is internal used like "exiftool -tagsfromfile source.jpg -@ intermediate_argfile destination.jpg"
2.) A final argfile: this is additional used for the final panorama. This argfile is used additional to the intermediate argfile: "exiftool -tagsfromfile source.jpg -@ intermediate_argfile -@ final_argfile destination.jpg"
In the final argfile there will additionally some place holders replaced.

For more details about the exiftool argfile, read the exiftool manual.

** Changed in: hugin
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1507801

Title:
  Not all metadata copied

Status in Hugin:
  Invalid

Bug description:
  Not all metadata is properly copied from the first image (or middle,
  or average, or whatever).

  Namely the fields that describe the lens, ISO rating, metering mode,
  flash, exposure program, exposure comp, country code, country,
  province, city, location, label, rating, keywords, copyright.

  That's as far as I could find. I suspect a couple more fields are
  missing, but I haven't tested all of them. I suppose this is enough of
  an indication that, although the "copy metadata" checkbox in
  Preferences is ticked, it 'forgets' to copy a boatload of fields.

  Some metadata is copied though, like author, camera, gps, but nothing
  more as fas as I can tell quickly enough.

  I can see there's two more boxes in Preferences for "argfiles", but I
  have no idea what I should put there, and I have no way of knowing
  what it expects me to do there. Or if it's going to help me in the
  first place. At any rate, I would say just simply copy ALL metadata.
  If it's using exiftool, copying ALL metadata should be a lot easier
  than copying an arbitrary set.

  In the mean time, is there a trivial workaround that we can apply?

  This is Hugin 2015.0.0 on Windows 10 x64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1507801/+subscriptions


References