Gentoo Archives: gentoo-user

From: nunojsilva@ist.utl.pt (Nuno J. Silva)
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: PDF: convert to grayscale
Date: Sun, 27 Feb 2011 12:59:54
Message-Id: 8762s5fxa9.fsf@ist.utl.pt
In Reply to: Re: [gentoo-user] PDF: convert to grayscale by Paul Hartman
1 Paul Hartman <paul.hartman+gentoo@×××××.com> writes:
2
3 > On Tue, Feb 8, 2011 at 7:50 AM, Nuno J. Silva <nunojsilva@×××××××.pt> wrote:
4 >> Does anyone know a tool (other than ghostscript) that is able to convert
5 >> a PDF (or postscript) to grayscale?
6 >>
7 >> Ghostscript does this, but is unable to convert gradients and fills
8 >> (they're replaced by bitmaps) which results in a too big file unless I
9 >> drastically reduce quality.
10 >
11 > Are you the creator of the document and want to save the original as
12 > greyscale, or you want to convert an already existing PDF?
13
14 All I have are PDFs, without any original file.
15
16 > If the latter I think the easy way is to use ghostscript (pdf2ps) to
17 > render it as greyscale postscript. Then you could convert the PS back
18 > to PDF if you need to. But if you already tried that, then, I don't
19 > know...
20
21 From what I've been reading, it's always better to use pdftops (poppler)
22 because pdf2ps generates lower-level stuff and also converts fonts to
23 bitmap. But both ways, I'd end up doing the conversion in ghostscript,
24 and that's where the problem is.
25
26 --
27 Nuno J. Silva
28 gopher://sdf-eu.org/1/users/njsg