Article View: adobe.postscript.programming
Article #163Re: raster image to hexadecimal conversion
From: Aandi_Inston
Date: Thu, 14 Aug 2008 17:31
Date: Thu, 14 Aug 2008 17:31
9 lines
1064 bytes
1064 bytes
It depends on your programming language and the current form of the image. I assume you have the uncompressed pixel data, NOT just the contents of a bitmap file? If I were writing in C I use the standard technique of defining a string of 16 characters for each hex digit, and index it with each half of each byte in turn. Aandi Inston
Technical Details
Message-ID:
<48a46baa.2844376897@adobeforums.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!border1.nntp.ams.giganews.com!nntp.giganews.com!transit5.hitnews.eu!news4us.nl!webcrossingReferences:
<59b62a96.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,a9a56eb9d629ec66 X-Google-Attributes: gid10c61a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Aandi_Inston@adobeforums.com Newsgroups: adobe.postscript.programming Subject: Re: raster image to hexadecimal conversion Message-ID: <48a46baa.2844376897@adobeforums.com> Date: Thu, 14 Aug 2008 10:31:44 -0700 References: <59b62a96.-1@webcrossing.la2eafNXanI> Lines: 9 X-Newsreader: Forte Free Agent 1.21/32.243 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!border1.nntp.ams.giganews.com!nntp.giganews.com!transit5.hitnews.eu!news4us.nl!webcrossing