🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #60

Re: pstoppm

#60
From: Ian MacPhedran
Date: Mon, 06 Apr 1992 08:56
35 lines
1565 bytes
>From article <1992Apr3.121643.2296@tdb.uu.se>, by olle@bellatrix.tdb.uu.se (Olle Eriksson):
> We are using Ghostscript to convert postscript to ppmimages. I did install
> ghostscript on a Decstation 5000/120 (ultrix 4.2a, gcc 2.0) and tried it
> out.
> 
> The following works fine, just as it did in 2.3
> 
> gs pstoppm.ps
> (golfer) ppm1run
> 
> But
> 
> gs pstoppm.ps
> (escher) ppm8run
> 
> worked fine in 2.3 but fails with a range check in makeimagedevice in 2.4.
> I have not been able to use ppm8run on any ps-file
> 
> Why is this?

The pallette in pstoppm.ps appears to be missing several primary colours.
To wit
blue:     0000ff
green:    00ff00
cyan:     00ffff
magenta:  ff00ff

Find close values in the table, and replace them with these numbers.

Ian.
-- 
----------------------------------------------------------------------------
Ian MacPhedran, Engineering Computer Centre, University of Saskatchewan.
2B13 Engineering Building, U. of S. Campus, Saskatoon, Sask., CANADA S7N 0W0
macphed@dvinci.USask.CA  macphedran@sask.USask.CA
Technical Details
Message-ID: <1992Apr6.205641.19646@access.usask.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!dvinci.usask.ca!macphed
References: <1992Apr3.121643.2296@tdb.uu.se>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.ghostscript.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!dvinci.usask.ca!macphed
From: macphed@dvinci.usask.ca (Ian MacPhedran)
Subject: Re: pstoppm
Message-ID: <1992Apr6.205641.19646@access.usask.ca>
Sender: gnulists@ai.mit.edu
Reply-To: macphed@dvinci.usask.ca
Organization: University of Saskatchewan
References: <1992Apr3.121643.2296@tdb.uu.se>
Distribution: gnu
Date: Mon, 6 Apr 1992 08:56:41 GMT
Approved: bug-ghostscript@prep.ai.mit.edu
Lines: 36