Article View: comp.lang.postscript
Article #2479Re: Q image too big for PS to handle ?
From: Henry McGilton--Desktops Spoke H...
Date: Mon, 09 Jul 1990 20:37
Date: Mon, 09 Jul 1990 20:37
24 lines
1461 bytes
1461 bytes
In article <30201@eerie.acsu.Buffalo.EDU>, csdchang@ubvmsb.cc.buffalo.edu (Chengping Chang) writes:
* 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.
* 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] {<
* C3FFFFFFFFFFFFBFFFEFFFFFFF9E7FFFBFF
* ... ...
* C30410C30C30C30C30C3 >} image showpage
The trick of using a {< . . . >} construct to place a
string inside an executable object on the stack fails
because the maximum length of a string is 65,535
characters, as defined on page 260 of the Red Book.
........ Henry
Technical Details
Message-ID:
<138604@sun.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!pacbell.com!ames!amdcad!sun!angel.Eng.Sun.COM!henryReferences:
<30201@eerie.acsu.Buffalo.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!pacbell.com!ames!amdcad!sun!angel.Eng.Sun.COM!henry From: henry@angel.Eng.Sun.COM (Henry McGilton--Desktops Spoke Here) Newsgroups: comp.lang.postscript Subject: Re: Q image too big for PS to handle ? Summary: String Length Limit Exceeded Message-ID: <138604@sun.Eng.Sun.COM> Date: 9 Jul 90 20:37:55 GMT References: <30201@eerie.acsu.Buffalo.EDU> Sender: news@sun.Eng.Sun.COM Distribution: usa Lines: 24