<<<Back 1 day (to 2019/03/13) | 20190314 | |
kens | i3v the Text_GRAY for -sSourceObjectICC is used for rendering, like most of the colour management parameters. | 08:43.56 |
If you want a CMYK PDF then you can use -sColorConversionStrategy=DeviceCMYK | 08:44.17 | |
That won't convert text to black, but it will get CMYK text. | 08:44.44 | |
My reply appears to have been truncated when I said "there's no way to moify j" that should have been "there's no way to modify just text" | 08:45.16 | |
i3v_ | kens, do you actually mean `-sColorConversionStrategy=CMYK` ? Cause the following command seem to convert nothing at all (althouth there's no error message): | 23:29.09 |
gswin64c -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sColorConversionStrategy=DeviceCMYK -sProcessColorModel=DeviceCMYK -sOutputFile=out.pdf inp.pdf | 23:29.18 | |
Meanwhile, the following version somewhat works, e.g. on "text_graphic_image.pdf" ( http://git.ghostscript.com/?p=ghostpdl.git;a=blob_plain;f=examples/text_graphic_image.pdf;hb=687e9a482e40d5e2fc6ac7aa66fb4791afccb949 ): | 23:29.28 | |
gswin64c -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sColorConversionStrategy=CMYK -sColorConversionStrategyForImages=CMYK -sOutputFile=%1_v12.pdf %1.pdf | 23:29.38 | |
However, even the 2nd command does not convert DeviceGray text/graphic to DeviceCMYK (e.g. in https://1drv.ms/b/s!Anqmq2Ex7NSPnTwnXowJUJFtbEQ1 , same file in Overleaf: https://www.overleaf.com/read/dgckwmhcgncf ) | 23:31.41 | |
I check this with Adobe Acrobat "Output preview->object inspector" ( https://answers.acrobatusers.com/Is-it-possible-in-Acrobat-to-check-profiles-that-are-embedded-in-images-q276640.aspx ). | 23:33.03 | |
I've also tried to search for "CMYK" text (in a pdf, uncompressed with pdftk) - shows nothing (while both methods do show CMYK if I use `\xcolor[cmyk]{...}` in tex code ). (I've got zero experience reading raw pdf.) | 23:33.51 | |
Am I doing something wrong? | 23:34.00 | |
Forward 1 day (to 2019/03/15)>>> |