1

我正在尝试实现导出到 EPS 功能(在 C++ 中),并且我正在使用 pdfmark (pdf)扩展来提高透明度,但我还没有看到它们有任何效果。我使用 Illustrator 14.0 和 GSView 4.9 作为客户端。即使使用 Adob​​e 文档中的这个示例也不会产生透明度。

%!PS-Adobe-3.0 EPSF-3.0
%%Creator: xan
%%Pages: 1
%%Orientation: Portrait
%%BoundingBox: 0 0 600 600
%%EndComments
%%Page: 1 1
/DeviceCMYK setcolorspace 15 setlinewidth
[ /ca .6 /CA .3 /BM /Normal /SetTransparency pdfmark
0 1 1 0 setcolor 220 330 150 0 360 arc fill % red
0 0 1 0 setcolor 320 503 150 0 360 arc fill % yellow
1 1 0 0 setcolor 420 330 150 0 360 arc fill % blue
1 0 0 0 setcolor 230 440 104 0 360 arc stroke   % cyan
0 1 0 0 setcolor 410 440 104 0 360 arc stroke   % magenta
0 0 1 0 setcolor 320 284 104 0 360 arc stroke   % yellow
%%EOF

我需要设置另一个标志吗?还是只是这些客户的问题?

4

1 回答 1

1

我发现pdfmark如果您替换,使用透明度在 Adob​​e Distiller(将 EPS 转换为 PDF)中确实有效

/AllowTransparency false

/AllowTransparency true

.joboptions设置文件中。

于 2011-04-13T17:08:01.607 回答