Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Carlos Newsgroups: comp.lang.postscript Subject: Re: Ghostscript pickling settransfer Date: Fri, 15 May 2015 19:45:02 +0200 Organization: A noiseless patient Spider Lines: 42 Message-ID: <20150515194502.11569f06@samara.DOMA> References: <96e660b0-b16f-46b9-8f27-a1245803224f@googlegroups.com> <39699421-a83d-4b05-bb61-c7730d7d2d02@googlegroups.com> <38767aa8-82d4-4aa7-b8d6-7eea3d43f7ba@googlegroups.com> <3934ebd5-4761-4622-86e7-88659475adb3@googlegroups.com> <71f08c9a-b241-466b-bb2d-462029ab1b3c@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: mx02.eternal-september.org; posting-host="f4fcdd466dcf73c2e008a0d28a614b04"; logging-data="8342"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198pGaQH2VU61SHl09hnd/Uop9onIjXVKM=" X-Newsreader: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) Cancel-Lock: sha1:w4JdE1xnCcGLJ+Wwb7zmey22YNg= Xref: csiph.com comp.lang.postscript:2273 [ken , 2015-05-15 15:37] > In article , > jdawiseman@gmail.com says... > > > > I have just discovered, in 'Adobe Acrobat 7.0.5 Acrobat Distiller > > Parameters, 2 Oct 2005', page 92, the parameter > > TransferFunctionInfo. > > > Determines how Distiller handles transfer functions, which are > > > traditionally used to compensate for dot gain or dot loss that > > > may occur when an image is transferred to film. For example, a > > > file that is intended for output on a particular imagesetter may > > > contain transfer functions that compensate for the dot gain > > > inherent with that printer. Valid values are: Preserve Distiller > > > preserves (passes into the PDF file) transfer functions. Remove > > [...] > > > Apply > > > Distiller uses the transfer function to modify the data it writes > > > to the PDF file, instead of writing the transfer function itself > > > to the file. This value is ignored by Distiller 4.0 but supported > > > by Distiller 5.0 and later. It is sometimes used to achieve > > > artistic effects (although the PostScript Language Reference > > > discourages such usage). > > > > Apply seems to be 'Pickle'. Hurray! Does Ghostscript heed > > TransferFunctionInfo? > > That's the same as setting it from the Distiller user interface. > > So the answer is still 'No', the pdfwrite device always writes > transfer functions into the grpahcs state, it never applies them. Maybe need to change the documentation then... http://www.ghostscript.com/doc/9.16/Ps2pdf.htm#note_4 Btw, Ghostscript does apply the transfer function when writing to another vector based format, Microsoft's XPS (the driver is incomplete in other respects tho). C. --