🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #8519

How to speed up IMAGE operator?

#8519
From: Andrew Joseph Kompanek
Date: Wed, 31 May 1989 18:19
29 lines
1588 bytes
I recently wrote a simple postscript conversion program 
(without really knowing PostScript) 
to print 512 x 512 x 8 bit images captured with a frame buffer.  I 
appended the image (converted to 2-digit hex) to an appropriately
built postscript header file.  The header consists a simple image
command which uses a 256 character string as a read buffer.

I was pleased to discover that my file did indeed print the image.
However, it took the printer (a LaserWriter) on the order of 30 minutes 
to process it!  How can I speed this up?  

1. Will merely reducing the number of gray scales have a 
   *significant* effect on printing time? (this shouldn't result in
    significant image degradation
    because of the size of the LaserWriter's default halftone "grid").

2.  Or increasing the size of the string? (This does not seem to 
     be solution since I've seen output from other postscript 
    conversion programs and
     they all use either a 256 or a 512 byte buffer).

Any and all responses appreciated. 

Thanks ahead of time,
Drew

Andrew Kompanek
Carnegie Mellon University - Class of '92
Research Assistant - The Robotics Institute
Technical Details
Message-ID: <sYV2n=y00XoBQ9d14j@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!rochester!pt.cs.cmu.edu!andrew.cmu.edu!ak10+

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!rochester!pt.cs.cmu.edu!andrew.cmu.edu!ak10+
From: ak10+@andrew.cmu.edu (Andrew Joseph Kompanek)
Newsgroups: comp.lang.postscript
Subject: How to speed up IMAGE operator?
Message-ID: <sYV2n=y00XoBQ9d14j@andrew.cmu.edu>
Date: 31 May 89 18:19:55 GMT
Organization: Class of '92, Carnegie Mellon, Pittsburgh, PA
Lines: 29