Red Hat Bugzilla – Bug 55692
convert fails on .xpm -> .bmp
Last modified: 2008-05-01 11:38:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012
Description of problem:
The convert program cannot convert .xpm files to .bmp files. This worked
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.create .xpm file with gimp (any xpm file seems to fail)
2.convert -compress None blat.xpm blat.bmp
Actual Results: The output:
convert: Unexpected end-of-file (blat.xpm) [No such file or directory].
convert: Missing an image file name.
Expected Results: Creation of file blat.bmp in .bmp format
Works for me... Are you sure you're in the correct directory and didn't mistype anything?
Created attachment 36561 [details]
With the above image, and the following command line, I get the described bug:
"convert blat.xpm blat.bmp".
I'm using a stock 7.2 install with updates.
glibc-2.2.4-19 (i686 update i think)
Running ltrace reveals convert is failing in ReadImage in libMagick.so.5 (I
think, anyway, that function is returning zero then exiting). strace reveals
none of the open system calls fail.
Reverting to the rh7.1 version (ImageMagick-5.2.7-2) makes this problem go away.
Do you still see this with 5.4.x (from rawhide)?
Yes, the problem goes away with ImageMagick-126.96.36.199-1.