Bug 55692

Summary: convert fails on .xpm -> .bmp
Product: [Retired] Red Hat Linux Reporter: Need Real Name <andrew.taylor>
Component: ImageMagickAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-11-09 16:43:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Test image none

Description Need Real Name 2001-11-05 01:03:34 UTC
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
in 7.1.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.create .xpm file with gimp (any xpm file seems to fail)
2.convert -compress None blat.xpm blat.bmp
3.tada!


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

Additional info:

Comment 1 Bernhard Rosenkraenzer 2001-11-05 11:54:31 UTC
Works for me... Are you sure you're in the correct directory and didn't mistype anything? 


Comment 2 Need Real Name 2001-11-06 03:48:18 UTC
Created attachment 36561 [details]
Test image

Comment 3 Need Real Name 2001-11-06 03:59:17 UTC
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.

Other info:
ImageMagick-5.3.8-3
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.

Comment 4 Need Real Name 2001-11-08 18:25:49 UTC
Reverting to the rh7.1 version (ImageMagick-5.2.7-2) makes this problem go away.

Comment 5 Bernhard Rosenkraenzer 2001-11-09 15:00:01 UTC
Do you still see this with 5.4.x (from rawhide)?


Comment 6 Need Real Name 2001-11-09 16:43:32 UTC
Yes, the problem goes away with ImageMagick-5.4.0.3-1.