Re: Odd Request: Image 2 HEX
| From: | Miguel Cruz | Date: | Tue, 09 Jul 2002 20:32:46 +0000 |
| Subject: | Re: Odd Request: Image 2 HEX | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106557@lists.php.net to get a copy of this message | ||
On Tue, 9 Jul 2002, JSheble wrote:
> I'm using a Zebra label printer in an application I have and in order to
> display an image on the label, according to the ZPL II printer language,
> any image must be converted to HEX code. Does anyone hvae a code snippet
> or know of a free utility that will take a graphic image (BMP, GIF, JPG,
> etc...) and convert it to HEX values?
"Hex" isn't enough detail.
In order to do this you'll need to figure out the specific format that ZPL
II wants.
How many bits per pixel? Any prologue? Interlacing? Row-first or
column-first? etc. etc.
miguel