Wrong height with -tile option in Montage
Posted: 2017-11-19T02:01:52-07:00
Hello,
I think, I encountered a bug with Montage.
I use 8:6.9.7.4+dfsg-16 on a Debian "testing" system.
I want to build a tile set of 24 images.
Each image has the same properties
I build a 8 by 8 tile set with this command :
Next I read the properties of the output :
Height should be 1024 like the width (128x8 = 1024), instead I have got 1008 like if the images were 126 px high (1008/8 = 126)
In this case, images have been resized. But It shouldn't be.
I used Gimp to see the difference between the originals and the output.
To get a proper montage I use the geometry option to get the proper height
I this case, images have not been resized.
This is the correct behavior we should expect.
Kind regards
Kao
I think, I encountered a bug with Montage.
I use 8:6.9.7.4+dfsg-16 on a Debian "testing" system.
I want to build a tile set of 24 images.
Each image has the same properties
Code: Select all
identify boat_01_01.png
boat_01_01.png PNG 128x128 128x128+0+0 8-bit sRGB 7.89KB 0.000u 0:00.000
Code: Select all
montage boat*.png -tile 8x8 -background none tilset_01.png
Code: Select all
identify tilset_01.png
tilset_01.png PNG 1024x1008 1024x1008+0+0 16-bit sRGB 403KB 0.000u 0:00.000
In this case, images have been resized. But It shouldn't be.
I used Gimp to see the difference between the originals and the output.
To get a proper montage I use the geometry option to get the proper height
Code: Select all
montage boat*.png -tile 8x8 -geometry 128x128 -background none tilset_02.png
identify tilset_02.png
tilset_02.png PNG 1024x1024 1024x1024+0+0 8-bit sRGB 162KB 0.000u 0:00.000
This is the correct behavior we should expect.
Kind regards
Kao