🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #162

raster image to hexadecimal conversion

#162
From: Chris_Heys
Date: Thu, 14 Aug 2008 17:16
6 lines
810 bytes
Dear People

What's the easiest way of converting a raster image to hexadecimal ?
For example, I might want to turn a 100 X 100 bitmap, 24 bits deep, into a string of 60,000 hex digits.
This, for feeding to the PS colorimage operator.
Thanks in advance.
Technical Details
Message-ID: <59b62a96.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!fu-berlin.de!news4us.nl!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,a9a56eb9d629ec66,start
X-Google-Attributes: gid10c61a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Chris_Heys@adobeforums.com
Newsgroups: adobe.postscript.programming
Subject: raster image to hexadecimal conversion
Message-ID: <59b62a96.-1@webcrossing.la2eafNXanI>
Date: Thu, 14 Aug 2008 10:16:23 -0700
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!fu-berlin.de!news4us.nl!webcrossing