From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PtgO8-0000fS-Ia for garchives@archives.gentoo.org; Sun, 27 Feb 2011 13:10:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C872E07BA; Sun, 27 Feb 2011 13:08:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5ABC6E07BA for ; Sun, 27 Feb 2011 13:08:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E71FF1B41A9 for ; Sun, 27 Feb 2011 13:08:51 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -0.347 X-Spam-Level: X-Spam-Status: No, score=-0.347 required=5.5 tests=[AWL=0.344, BAYES_00=-2.599, RCVD_ILLEGAL_IP=1.908] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pz32XgSIRy+7 for ; Sun, 27 Feb 2011 13:08:45 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 62E391B4196 for ; Sun, 27 Feb 2011 13:08:44 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PtgMb-0007gf-S4 for gentoo-user@gentoo.org; Sun, 27 Feb 2011 14:08:41 +0100 Received: from bl22-126-71.dsl.telepac.pt ([2.83.126.71]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Feb 2011 14:08:41 +0100 Received: from nunojsilva by bl22-126-71.dsl.telepac.pt with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Feb 2011 14:08:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: nunojsilva@ist.utl.pt (Nuno J. Silva) Subject: [gentoo-user] Re: PDF: convert to grayscale Date: Sun, 27 Feb 2011 13:11:52 +0000 Message-ID: <871v2tfwpz.fsf@ist.utl.pt> References: <87ipwuiqjr.fsf@ist.utl.pt> <201102112208.29229.wonko@wonkology.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bl22-126-71.dsl.telepac.pt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:GBSeUax0AjB6Sn4jrezYAbm8bNE= X-Archives-Salt: X-Archives-Hash: 60da6799f69eaa609cf0db345bb0f894 Alex Schuster writes: > Grant Edwards writes: > >> On 2011-02-08, Nuno J. Silva wrote: >> > Does anyone know a tool (other than ghostscript) that is able to >> > convert a PDF (or postscript) to grayscale? >> > >> > Ghostscript does this, but is unable to convert gradients and fills >> > (they're replaced by bitmaps) which results in a too big file unless I >> > drastically reduce quality. >> >> I don't understand what you're asking for. What sort of output format >> do you want (raster, vector, ???)? > > I think he wants the same PDF as the original file. Only in grayscale. Yeah, that's it. I ended up hacking the PDF to convert all RGB to grayscale, but even if the result was the original without colors (what I wanted), converting it to ghostscript made some text unreadable (white on white), so it was clearly not a good idea to trust it to look the same everywhere. I gave up and used the color version. > This is one method to do this, but it needs Acrobat 8 Professional: > http://blog.gilbertconsulting.com/2007/05/convert-color-pdf-to-grayscale.html Thanks for the link. Although I don't have Acrobat, if I ever happen to get access to it I'll probably check that feature :-) -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg