Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ImageMagick, convert testing. please help.

Status
Not open for further replies.

zOmbit

MIS
Mar 16, 2003
4
CA
Hello,
I try to convert an image file(in tga/tiff/bmp format), using convert.exe tool in ImageMagick-5.5.6-win.

I executed: convert.exe a.tga a.pcl
then, there is a a.pcl file, the content of file seems to be a pcl file.
but when I send a.pcl to HP2200 printer(using rawprint from, MSDN - 138594 : HOWTO: Send Raw Data to a Printer by Using the Win32 API)
the result is not what I expect.

does anyone have a successful case on converting image to PCL using open-source/free tool??

thank in advance.
zombit~
 
You don't say what is wrong with the image. Is it just rendered poorly or are you getting garbage?

Is there perhaps a command line flag that needs to added
to render the image properly?
Jim Asman
jlasman@telus.net
 
It looks like there is someting wrong with the image parameters in the original file; however, I was able to produce a good PCL file using my MKPCL program. I had to convert the GIF to a BMP for MKPCL to read it as it only supports BMP, JPG, and PCX.

You might try to convert to BMP first, and try your conversion process again. I see that the original is an
8bit per pixel file. Maybe the conversion tools that you used either don't support it(unlikely really) in a PCL conversion, or there is an option whre you specify the pixel depth when you run the program.

I can email the PCL file I made if you send me your address.

Hopefully, someone from PageTech can shed some light on what is happening.
Jim Asman
jlasman@telus.net
 
A sanity check.

When you ran PageTech's TIFF2PCL, you did convert it to a TIF file before you started, didn't you? :)
Jim Asman
jlasman@telus.net
 
Hi Jim,
thank you for your reply.
yes, when I use TIFF2PCL, I have converted original file to TIF format.

I will try more image format.

zombit
hardded@yahoo.com.tw
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top