Article View: comp.lang.postscript
Article #4336readhexstring problem
From: Ross Dargahi
Date: Fri, 28 Dec 1990 15:44
Date: Fri, 28 Dec 1990 15:44
20 lines
1341 bytes
1341 bytes
/picstr 1 string def
12 12 1 [12 0 0 12 0 12] {currentfile picstr readhexstring pop} image
<image data here>
when i use the above code the image is rendered correctly, but if I change the
length of picstr to anything other than one (I tried several values) the code ceases to work, what am I doing wrong? what values could I use for the length of picstr?
Please note that the height and width of the image can vary greatly from a few points
to hundreds of points. I used 12 just for illustrative purposes.
Thanx
Ross
--
********************************************************************************
ALL OPINIONS EXPRESSED ARE THOSE OF THE AUTHOR AND IN NO WAY DO THEY EXPRESS
THE OPINIONS OF THE BAYLOR COLLEGE OF MEDICINE - WRITTEN OR OTHERWISE.
********************************************************************************
Technical Details
Message-ID:
<3390@gazette.bcm.tmc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!bcm!rdargahiShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!bcm!rdargahi From: rdargahi@meyerhof.iaims.bcm.tmc.edu (Ross Dargahi) Newsgroups: comp.lang.postscript Subject: readhexstring problem Message-ID: <3390@gazette.bcm.tmc.edu> Date: 28 Dec 90 15:44:17 GMT Sender: usenet@bcm.tmc.edu Reply-To: rdargahi@meyerhof.iaims.bcm.tmc.edu (Ross Dargahi) Organization: Baylor College of Medicine, Houston, Tx Lines: 20 Nntp-Posting-Host: meyerhof.iaims.bcm.tmc.edu