🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #490

Re: Spliting a large hex image into multiple strings

#490
From: Desmond_Anderson
Date: Thu, 08 Jul 2004 18:00
21 lines
1499 bytes
Hi Blischke,
   Thanks for responding. I did some changes (example below) but it only process the first one. I am not great at this so could please explain to me how I can force it to call the procedure again.
example:
/_fileProc {
    % gsave
       /RawData _dtachk /ASCIIHexDecode filter def
       /Data RawData << >> /DCTDecode filter def
        /DeviceRGB setcolorspace
         { << /ImageType 1 /Width 546 /Height 356 /ImageMatrix [ 546 0 0 -356 0 356 ] /DataSource Data /BitsPerComponent 8 /Decode [0 1 0 1 0 1] >> image
           %Data closefile
           %RawData flushfile
         % pop
       } exec
     % grestore
} def
/idx 0 def
/_dtachk {_dta idx get /idx idx 1 add def} def
/_dta {[(hex string1.... )(hex string2.... >)]} def

Thanks again,
Desmond
Technical Details
Message-ID: <3bb4f580.1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <3bb4f580.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,34835a4def577c32
X-Google-Attributes: gid10c61a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Desmond_Anderson@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.postscript.programming
Subject: Re: Spliting a large hex image into multiple strings
Message-ID: <3bb4f580.1@webx.la2eafNXanI>
Date: Thu, 8 Jul 2004 11:00:54 -0700
References: <3bb4f580.-1@webx.la2eafNXanI>
Lines: 30
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit