[texhax] CMYK color v. RGB

Hartmut Henkel hartmut_henkel at gmx.de
Sat Dec 20 01:18:47 CET 2008


On Fri, 19 Dec 2008, Niall Mansfield wrote:

> I don't think it's possible for us to use CMYK.  Is it? Does anyone
> else have experience of similar problems?

you can use the programs "pnmtotiffcmyk" and "convert" to convert RGB
image files (e. g. in PPM format) into CMYK-JPEGs; here are Makefile
example rules:

%-cmyk.jpg:     %-cmyk.tif
	convert $< -colorspace CMYK -density 300x300 -quality 100 $@

%-cmyk.tif:     %.ppm
	pnmtotiffcmyk $< > $@

These JPEGs can be read by pdftex without problems (but you might
encounter transparency problems with buggy RIPs, as recently happened).

Regards, Hartmut



More information about the texhax mailing list