Page 1 of 1

PNG to PCL two different versions?

Posted: 2013-05-31T06:24:37-07:00
by mduleone
Hello everyone!
I'm trying to take a QR code that I'm using http://fukuchi.org/works/qrencode/index.html.en to create. The encoder creates a black and white PNG, with no alpha layers.

I'm running IM on two different Linux machines, and on one of the boxes (IM version 6.2.8.0),

Code: Select all

convert image.png image.pcl
converts the images correctly and works great. On the other Linux machine (IM version 6.5.4.7) however,

Code: Select all

convert image.png image.pcl
converts the image to a black square.

I've tried adding the following options, to no avail.

Code: Select all

convert image.png -monochrome image.pcl

Code: Select all

convert image.png -background #FFFFFF image.pcl

Code: Select all

convert image.png -background #FFFFFF00 image.pcl

Code: Select all

convert image.png -opaque #FFFFFF image.pcl

Code: Select all

convert image.png -opaque #FFFFFF00 image.pcl

Code: Select all

convert image.png -fill #FFFFFF image.pcl

Code: Select all

convert image.png -fill #FFFFFF00 image.pcl
They either white out the image or do nothing. Does anyone have any suggestions as to resolving this? I'd prefer to not have to downgrade the version on the Linux machine that's not working, if possible.