← Back to team overview

hugin-devs team mailing list archive

[Bug 2081896] [NEW] enblend and enfuse ignore the -f option and set the image position to the position of the first image in the list

 

Public bug reported:

enblend/enfuse set the position of the image to the upper left corner of
the the combined images. this is wrong. it should be set the x/y offsets
passed to the -f argument. because of a bug in the blacklisted exif keys
the program would write the x/y position of the first image. even after
fixing the regular expression and setting the position to what was given
in the output file, the programs would still ignore the offsets because
then it would filter out the x/y position from the data read from the
file list and overwrite the already existing position when writing out
the new metadata. the fix is to sanitize the data read from the files to
be blended, read back the old metadata from the blended file, merge it
with the sanitized metadata and then write it back to the file. i'm
attaching the patch to fix this.

** Affects: enblend
     Importance: Undecided
         Status: New

** Patch added: "enblend.diff"
   https://bugs.launchpad.net/bugs/2081896/+attachment/5821596/+files/enblend.diff

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

Title:
  enblend and enfuse ignore the -f option and set the image position to
  the position of the first image in the list

Status in Enblend:
  New

Bug description:
  enblend/enfuse set the position of the image to the upper left corner
  of the the combined images. this is wrong. it should be set the x/y
  offsets passed to the -f argument. because of a bug in the blacklisted
  exif keys the program would write the x/y position of the first image.
  even after fixing the regular expression and setting the position to
  what was given in the output file, the programs would still ignore the
  offsets because then it would filter out the x/y position from the
  data read from the file list and overwrite the already existing
  position when writing out the new metadata. the fix is to sanitize the
  data read from the files to be blended, read back the old metadata
  from the blended file, merge it with the sanitized metadata and then
  write it back to the file. i'm attaching the patch to fix this.

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



Follow ups