enfuse creates too large of image with black border on right and bottom
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Enblend |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
BLOT:
enfuse is creating too large of an image with black borders on the left and right. Looking into the size of the resulting image I can see that the image is the expected with + an additional amount that is the same as the "left" value specified in the crop UI of enpass.
DETAILS:
"repro.zip/src1 - src3_blended_
If I do a dryrun with hugin_executor I can see that enfuse is being passed all the right options in terms of the size of the image:
[anitschk@
/usr/bin/nona -v -z LZW -r ldr -m TIFF_m --ignore-exposure -o src1\ -\ src3_exposure_
enblend -f1800x1500+200+200 --compression=LZW -o src1\ -\ src3_exposure_
enblend -f1800x1500+200+200 --compression=LZW -o src1\ -\ src3_exposure_
enblend -f1800x1500+200+200 --compression=LZW -o src1\ -\ src3_exposure_
enfuse -f1800x1500+200+200 --compression=90 -o src1\ -\ src3_blended_
exiftool -overwrite_original -TagsFromFile /srv/media/
rm /tmp/hedLAtKd src1\ -\ src3_exposure_
Additionally if I tweek the enfuse command to take this bug into account then I can "fix" the bug:
enfuse -f1600x1300+200+200 --compression=90 -o src1\ -\ src3_blended_
See the attached repro.zip/
This feels like it is probably some sort of recent regression where enfuse isn't parsing the size it is passed correctly. I am just not sure the right place to start looking for this issue. Anyone have any pointers?
SYSTEM INFO:
System info from Help Menu -> About -> System:
Operating System: Linux 5.17.1-arch1-1 x86_64
Architecture: 64 bit
Free memory: 417004 kiB
Hugin
Version: 2021.0.
Path to resources: /usr/share/
Path to data: /usr/share/
Hugins camera and lens database: /home/anitschk/
Multi-threading using C++11 std::thread and OpenMP
Libraries
wxWidgets: wxWidgets 3.0.5
wxWidgets Library (wxGTK port)
Version 3.0.5 (Unicode: wchar_t, debug level: 1),
compiled at Jan 5 2022 10:10:46
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.31.
libpano13: 2.9.21
Boost: 1.78.0
Exiv2: 0.27.5
SQLite3: 3.38.2
Vigra: 1.11.1
LittleCMS2: 2.13
Moving to enblend/enfuse bug tracker - it is not a Hugin bug, the parameters are correctly transferred to enfuse/enblend.
I tested your repro test case on 2 different system. On all system the output is correctly created without black borders. It works fine with the released version 4.2 and also with current head of default branch (version 4.3-8243911d8684). software- components" . Thanks
The used enblend version is from the development branch, but is nearly 3 years old (enblend 4.3-f3e6c6c88e6e).
Please test again with current head.
If this version shows the same bug, please post the results of "enblend --version --verbose" and "enblend --show-