🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #265

Ghostscript w/o X

#265
From: L. Peter Deutsch
Date: Tue, 16 Jan 1990 04:43
15 lines
1227 bytes
If you start up Ghostscript with -DNODISPLAY in the command line, it
won't open the X11 device or attempt to install it as the output
device.  Unfortunately, no Ghostscript version released to date
allows you to render into a bitmap in memory and then dump the bitmap
to a file.  However, in version 1.4 (aren't you tired of hearing
this?), it is possible to do exactly this: you install an "image
device" as the output device, and then write out the bitmap using a
new operator provided for this purpose.  1.4 currently only includes
code for writing PPM format, but it's fairly easy to implement other
formats, by adding either C code or Ghostscript code.  (Of course the
former runs a lot faster.)

L. Peter Deutsch			ghost@aladdin.com
Aladdin Enterprises			...{uunet!}parcplace!aladdin!ghost
P. O. box 60264, Palo Alto, CA 94306
Technical Details
Message-ID: <9001201852.AA16636@rice-chex>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!aladdin.com!ghost

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!aladdin.com!ghost
From: ghost@aladdin.com (L. Peter Deutsch)
Newsgroups: gnu.ghostscript.bug
Subject: Ghostscript w/o X
Message-ID: <9001201852.AA16636@rice-chex>
Date: 16 Jan 90 04:43:42 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 15