Strange bug with pipped Convert - black bar on the right
Posted: 2009-04-12T07:41:26-07:00
Hello good folks of ImageMagick.
Thanks for the excellent product!
I have found a strange problem with convert and this particular image. It squishes it to the left and adds a wide black bar to the right. Everything else in ImageMagick has been working fine, including the same command on other images.
Here is the result
Here is the command (smallest one that reproduces the problem):
convert a.jpg miff:- | convert - b.jpg
Note that you need the pipe in order for the problem to show. In the original command I had "convert" adding a border and passing it to "composite" for an overlay, etc...
The original image
The same image which will show the same problem, but captured with a print screen and saved in BMP format.
I could not use the yum distro because it is too old and its crop does not support the reduced geometry parameter. So I compiled ImageMagick-6.5.1-1.tar.gz in RHEL5 with a plain "./configure" and no extra options. All seems well with the exception of this particular image.
BTW, a totally separate issue. The "make install" is missing the following:
Any help would be greatly appreciated.
Thanks!
Thanks for the excellent product!
I have found a strange problem with convert and this particular image. It squishes it to the left and adds a wide black bar to the right. Everything else in ImageMagick has been working fine, including the same command on other images.
Here is the result
Here is the command (smallest one that reproduces the problem):
convert a.jpg miff:- | convert - b.jpg
Note that you need the pipe in order for the problem to show. In the original command I had "convert" adding a border and passing it to "composite" for an overlay, etc...
The original image
The same image which will show the same problem, but captured with a print screen and saved in BMP format.
I could not use the yum distro because it is too old and its crop does not support the reduced geometry parameter. So I compiled ImageMagick-6.5.1-1.tar.gz in RHEL5 with a plain "./configure" and no extra options. All seems well with the exception of this particular image.
BTW, a totally separate issue. The "make install" is missing the following:
Code: Select all
chmod 755 /usr/local/share/ImageMagick-6.5.1
chmod 755 /usr/local/share/ImageMagick-6.5.1/config/
chmod 755 /usr/local/lib/ImageMagick-6.5.1
chmod 755 /usr/local/lib/ImageMagick-6.5.1/config
chmod 755 /usr/local/lib/ImageMagick-6.5.1/modules-Q16
chmod 755 /usr/local/lib/ImageMagick-6.5.1/modules-Q16/coders/
chmod 755 /usr/local/lib/ImageMagick-6.5.1/modules-Q16/filters/
Thanks!