相关疑难解决方法(0)

将PDF转换为CMYK(识别识别CMYK)

我很难将ImageMagick identify用于识别PDF作为CMYK.

基本上,假设我正在构建此文件test.tex,使用pdflatex:

\documentclass[a4paper,12pt]{article}

%% https://tex.stackexchange.com/questions/13071
\pdfcompresslevel=0

%% http://compgroups.net/comp.text.tex/Making-a-cmyk-PDF
%% ln -s /usr/share/color/icc/sRGB.icm .
% \immediate\pdfobj stream attr{/N 4} file{sRGB.icm}
% \pdfcatalog{%
% /OutputIntents [ <<
% /Type /OutputIntent
% /S/GTS_PDFA1
% /DestOutputProfile \the\pdflastobj\space 0 R
% /OutputConditionIdentifier (sRGB IEC61966-2.1)
% /Info(sRGB IEC61966-2.1)
% >> ]
% }

%% http://latex-my.blogspot.com/2010/02/cmyk-output-for-commercial-printing.html
%% https://tex.stackexchange.com/questions/9961
\usepackage[cmyk]{xcolor}

\begin{document}
Some text here...
\end{document}
Run Code Online (Sandbox Code Playgroud)

如果我然后尝试识别生成的test.pdf文件,我将其作为RGB,无论我尝试过什么选项(至少根据源中的链接) - 然而,其中的颜色将保存为CMYK; 对于上面的来源:

$ grep -ia 'cmyk\|rgb\| k' test.pdf 
0 0 0 1 k …
Run Code Online (Sandbox Code Playgroud)

linux pdf imagemagick cmyk ghostscript

25
推荐指数
2
解决办法
3万
查看次数

脚本(或其他一些方法)将RGB转换为PDF格式的CMYK?

是否可以为Adobe Illustrator或其他工具编写脚本,以读取大量PDF文件的内容并将所有RGB颜色转换为CMYK?

如果是这样,有人可以指出所涉及的一些步骤,或者在哪里可以找到更多相关信息?

pdf rgb adobe-illustrator cmyk ghostscript

12
推荐指数
1
解决办法
1万
查看次数

标签 统计

cmyk ×2

ghostscript ×2

pdf ×2

adobe-illustrator ×1

imagemagick ×1

linux ×1

rgb ×1