groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] ps: import of an EPS file with binary data


From: Ralph Corderoy
Subject: Re: [Groff] ps: import of an EPS file with binary data
Date: Fri, 06 Jul 2012 01:19:17 +0100

Hi Steve,

> On Fri, Jul 06, 2012 at 12:30:44AM +0200, Tadziu Hoffmann wrote:
> >   gs -q -dNODISPLAY -dBATCH -dNOPAUSE ppmtops.ps <teapot.ppm >teapot.ps
> 
> The above gs commandline works on other images I've tried, but when I
> run it on the set at hand, I get a "MAXVAL not 255" error.

Take your PBM files and produce a 255-maxval PPM that ppmtops.ps demands
with

    convert foo.pbm ppm:- | pnmdepth 255 >foo.ppm

Cheers, Ralph.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]