🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #2474

Q image too big for PS to handle ?

#2474
From: Chengping Chang
Date: Mon, 09 Jul 1990 17:28
37 lines
1792 bytes
Please help ...

I encountered this problem the other day.  When printing a 
1040x630 binary image (see code #1 below), the output is 
merely duplicate strips of the top few rows.  But if I split 
the image into two pieces (see code #2 below), make each half 
be of size 1040x315 and concatenate them with appropriate 
"translate" command, then the output is correct.  
I get the same result on both Apple LaserWriter NTX and DEC LPS40.

The matrix is set up according to the PostScript "redbook" and 
works fine for smaller images.  Why is this happening ?  I am puzzled. 
Is there a limitation on the size of image PostScript can handle ?  

%% Code piece #1, a 1040 by 630 by 1 image
72 72 scale
1040 630 1 [1040 0 0 -630 0 630] {<
C3FFFFFFFFFFFFBFFFEFFFFFFF9E7FFFBFFFFFFFFFEF0C30C10C71FFFFFB
.. ...
C30410C30C30C30C30C3 >} image showpage


%% Code piece #2, two images, each one is 1040 by 315 by 1
0 1 translate 
72 72 scale
1040 315 1 [1040 0 0 -315 0 315] {<
C3FFFFFFFFFFFFBFFFEFFFFFFF9E7FFFBFFFFFFFFFEF0C30C10C71FFFFFB
.. ...
30E78E38E38E38E30C10400000410430C38C38C10C30C104100000000000
>} image

0 -1 translate
1040 315 1 [1040 0 0 -315 0 315] {<
477F77F77410F10F10F77F77F77F77F77F77F10F77F77F77F10F77F10477
.. ...
C30410C30C30C30C30C3
>} image showpage
Technical Details
Message-ID: <30201@eerie.acsu.Buffalo.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!sunybcs!ubvms.cc.buffalo.edu!csdchang

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!sunybcs!ubvms.cc.buffalo.edu!csdchang
From: csdchang@ubvmsb.cc.buffalo.edu (Chengping Chang)
Newsgroups: comp.lang.postscript
Subject: Q image too big for PS to handle ?
Message-ID: <30201@eerie.acsu.Buffalo.EDU>
Date: 9 Jul 90 17:28:32 GMT
Sender: news@acsu.Buffalo.EDU
Reply-To: csdchang@ubvmsb.cc.buffalo.edu
Distribution: usa
Organization: University at Buffalo
Lines: 37