Page 1 of 1

Strange bug with pipped Convert - black bar on the right

Posted: 2009-04-12T07:41:26-07:00
by Ed_
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
Image

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
Image

The same image which will show the same problem, but captured with a print screen and saved in BMP format.
Image

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/
Any help would be greatly appreciated.

Thanks!

Re: Strange bug with pipped Convert - black bar on the right

Posted: 2009-04-12T08:20:12-07:00
by magick
The problem you reported is fixed in the Subversion trunk available sometime tomorrow. Thanks.

Re: Strange bug with pipped Convert - black bar on the right

Posted: 2009-04-12T08:52:30-07:00
by Ed_
Cool. Thanks!