behavior of different versions of ImageMagick - "image over"
Posted: 2011-09-14T09:31:58-07:00
Hello everyone,
can you help me .....
In a production machine using imagemagick, this machine with operating system version 5.5 uses CentoOs IM 6.2.8.
In particular, the operation that I do is:
convert-size 680x304 xc: white-draw "image over 670x304 0.0 'input.jpg'" output.jpg
this command does is build a white panel of 680x304px and added an image of 670x304 in order to have a resulting image with a white edge on the right side of 10 pixels.
My problem is that with the version of ImageMagick just indicated at the bottom of the resulting image has a white line about one pixel (ie as if the container has a white background pixels larger than the width even if the parameters / both are the same height)
I tried with other higher versions and the problem never occurs .....
It could be a bug in version 6.2.8 of iamgeMagick?
I had also thought of a solution like this:
convert-size 680x303 xc: white-draw "image over 670x304 0.0 'input.jpg'" output.jpg, that is, lower the height of one pixel of the background white but you can not do because this setting controls, and then also reduces the image of a pixel with the result of having the same problem.
Unfortunately I can not change the production version of ImageMagick!!!
Any suggestions ....
Thanks in advance.
Diego (Italy - Venice City)
can you help me .....
In a production machine using imagemagick, this machine with operating system version 5.5 uses CentoOs IM 6.2.8.
In particular, the operation that I do is:
convert-size 680x304 xc: white-draw "image over 670x304 0.0 'input.jpg'" output.jpg
this command does is build a white panel of 680x304px and added an image of 670x304 in order to have a resulting image with a white edge on the right side of 10 pixels.
My problem is that with the version of ImageMagick just indicated at the bottom of the resulting image has a white line about one pixel (ie as if the container has a white background pixels larger than the width even if the parameters / both are the same height)
I tried with other higher versions and the problem never occurs .....
It could be a bug in version 6.2.8 of iamgeMagick?
I had also thought of a solution like this:
convert-size 680x303 xc: white-draw "image over 670x304 0.0 'input.jpg'" output.jpg, that is, lower the height of one pixel of the background white but you can not do because this setting controls, and then also reduces the image of a pixel with the result of having the same problem.
Unfortunately I can not change the production version of ImageMagick!!!
Any suggestions ....
Thanks in advance.
Diego (Italy - Venice City)