Convert to PCL

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Stephen Engle
Posts: 3
Joined: 2013-10-31T13:31:00-07:00
Authentication code: 6789

Convert to PCL

Post 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).
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Convert to PCL

Post 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
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Convert to PCL

Post 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/
Stephen Engle
Posts: 3
Joined: 2013-10-31T13:31:00-07:00
Authentication code: 6789

Re: Convert to PCL

Post 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.
Stephen Engle
Posts: 3
Joined: 2013-10-31T13:31:00-07:00
Authentication code: 6789

Re: Convert to PCL

Post 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.
Post Reply