🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #137

Re: ppm8run why doesn't it work

#137
From: L. Peter Deutsch
Date: Sat, 25 Jul 1992 06:52
30 lines
1814 bytes
In <9207250634.AA04933@cookie-crisp>
<1992Jul24.122120.19579@daimi.aau.dk>, Lars Toeffner-Clausen
observes:

> I've tried using ppm8run in the pstoppm package for GhostScript 2.40
> but I get the error:
> 
> 	Error: /rangecheck in --makeimagedevice--
> 	Operand stack:
> 	    [1.04167 0 0 -1.04167 0 825]  638  825  (\000\000\000\377...
> and a whole lot more.
> 
> What is wrong here? Maybe the Palette8 is erroneous, where can I get a
> right one?

In all current versions of Ghostscript, pstoppm uses older logic that
insists that the output bitmap / pixmap fit in RAM.  If you are
running a 16-bit MS-DOS executable (gs.exe), you will not be able to
render a full-page color image at any reasonable resolution.

In Ghostscript version 2.5, you will be able to get full-page 24-bit
PPM output using the new ppm device, regardless of RAM size or
machine architecture; pstoppm will not be needed.  8-bit color with
an arbitrary palette will continue to be supported by pstoppm, and
will continue to be limited to very small or very coarse images on
PCs.  I will probably fix this properly in a release later this year.

L. Peter Deutsch :: Aladdin Enterprises :: P.O. box 60264, Palo Alto, CA 94306
ghost@aladdin.com, ...decwrl!aladdin!ghost ; 415-322-0103 voice ; no fax yet
	    "Implementation is the sincerest form of flattery."
Technical Details
Message-ID: <9207242352.1.UUL1.3#5127@aladdin.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!aladdin.COM!ghost
References: ghost@aladdin.COM (L. Peter Deutsch)

Show Full Headers
Complete Article Headers
Newsgroups: gnu.ghostscript.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!aladdin.COM!ghost
From: ghost@aladdin.COM (L. Peter Deutsch)
Subject: Re: ppm8run why doesn't it work
Message-ID: <9207242352.1.UUL1.3#5127@aladdin.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
References: ghost@aladdin.COM (L. Peter Deutsch)
Distribution: gnu
Date: Sat, 25 Jul 1992 06:52:43 GMT
Approved: bug-ghostscript@prep.ai.mit.edu
Lines: 32