Page 1 of 1

Convert to PCL

Posted: 2013-11-01T10:23:02-07:00
by Stephen Engle
Hello,

I tested converting a BMP to PCL and the result did not seem to work correctly. I would start with a BMP file and use convert.exe to make the conversion to PCL. I would then look at the result with IMDisplay.exe. IMDisplay can open a PCL file from another source, but cannot open one converted using convert.exe. The error it gives is:

IMDisplayDoc function [DoReadImage] reported an error.
IMDisplay.exe: no decode delegate for this image format
'C:/Users/userA/AppData/Local/Temp/magick-14312sfXPF0YNC6Yw'
@ error/constitute.c/ReadImage/552


The version of ImageMagick is ImageMagick-6.8.7-4 (for Windows).

Re: Convert to PCL

Posted: 2013-11-01T12:29:47-07:00
by dlemstra
ImageMagick uses the executable pcl6.exe (GhostPCL) to read the pcl file. You need to download this and put it in same folder as convert.exe

Re: Convert to PCL

Posted: 2013-11-01T13:49:10-07:00
by fmw42
dlemstra wrote:ImageMagick uses the executable pcl6.exe (GhostPCL) to read the pcl file. You need to download this and put it in same folder as convert.exe
Just a suggestion:

Perhaps any image format that needs some delegate installed, should be pointed out on the formats page at http://www.imagemagick.org/script/formats.php, which in this case also says that PCL is write (w) only. But from convert -list format, it shows read and write rw+

Or the delegates page (and/or Readme file) could be updated with any such missing delegates that might be required for this or any other image format that is supported. see http://www.imagemagick.org/download/delegates/

Re: Convert to PCL

Posted: 2013-11-07T06:13:47-07:00
by Stephen Engle
I perhaps should have mentioned that IMDisplay will read a PCL file that was from another source. What I cannot say for sure is what version of PCL that is, but it would seem to me to be a bit odd that it would not read a version that ImageMagick itself generated.

Re: Convert to PCL

Posted: 2013-11-07T06:21:14-07:00
by Stephen Engle
I can also add that I cannot successfully convert a PCL image generated by the convert exe to another format for whatever reason.

I did use pcl6-9.10-win32.exe to open a pcl file converted by convert.exe. However, it appeared to only have a portion of the top left of the page, not the entire page displayed. I'm not sure if convert only rendered part of the page, or if the file is somehow not correct such that only a portion of the page is displayed.