Conversion from BMP to PCL Fails

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
markasher
Posts: 13
Joined: 2012-04-04T13:21:48-07:00
Authentication code: 8675308

Conversion from BMP to PCL Fails

Post by markasher »

I need to be able to convert BMP signature files to PCL for inclusion on invoices printed on a laser printer. When I attempt to convert the BMP file to PCL I receive the following error:
bin: ImproperImageHeader `signature.bmp' @ error/bmp.c/ReadBMPImage/884.

I ran the standard IM test for generating the logo file and then tried converting that BMP to PCL and received the same error:
rp8400-/emc/ImageMagick/bin> ./convert logo: logo.bmp
rp8400-/emc/ImageMagick/bin> ./convert logo.bmp logo.pcl
bin: ImproperImageHeader `logo.bmp' @ error/bmp.c/ReadBMPImage/884.
bin: MissingAnImageFilename `logo.pcl' @ error/convert.c/ConvertImageCommand/3017.

Thank you for any assistance you can provide.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Conversion from BMP to PCL Fails

Post by fmw42 »

markasher wrote:I need to be able to convert BMP signature files to PCL for inclusion on invoices printed on a laser printer. When I attempt to convert the BMP file to PCL I receive the following error:
bin: ImproperImageHeader `signature.bmp' @ error/bmp.c/ReadBMPImage/884.

I ran the standard IM test for generating the logo file and then tried converting that BMP to PCL and received the same error:
rp8400-/emc/ImageMagick/bin> ./convert logo: logo.bmp
rp8400-/emc/ImageMagick/bin> ./convert logo.bmp logo.pcl
bin: ImproperImageHeader `logo.bmp' @ error/bmp.c/ReadBMPImage/884.
bin: MissingAnImageFilename `logo.pcl' @ error/convert.c/ConvertImageCommand/3017.

Thank you for any assistance you can provide.

What version of IM are you using and what platform.

I get no error messages doing the following on IM 6.7.6.5 Q16 Mac OSX Snow Leopard:


convert logo: logo.bmp
convert logo.bmp logo.pcl

and a file is created.
markasher
Posts: 13
Joined: 2012-04-04T13:21:48-07:00
Authentication code: 8675308

Re: Conversion from BMP to PCL Fails

Post by markasher »

It's 6.7.6-4 on HP-UX
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Conversion from BMP to PCL Fails

Post by fmw42 »

Sorry, I don't know what to tell you. Your version of IM is recent enough, I would think.
Post Reply