【问题标题】:Transparency in EPS -- does pdfmark work?EPS 的透明度——pdfmark 有效吗?
【发布时间】:2010-07-21 15:38:52
【问题描述】:

我正在尝试实现导出到 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

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

【问题讨论】:

  • 更新:Mac Preview.app 似乎也忽略了 pdfmark 透明度。
  • 您希望在 PostScript 查看器中看到透明度吗?我认为这行不通。您必须将 EPS 转换为 PDF。然后 PDF 查看器应该以某种方式显示透明度。

标签: graphics transparency eps


【解决方案1】:

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

/AllowTransparency false

/AllowTransparency true

.joboptions 设置文件中。

【讨论】:

    猜你喜欢
    • 2021-04-23
    • 1970-01-01
    • 2013-04-08
    • 2014-03-18
    • 2015-10-27
    • 2012-08-13
    • 2013-11-07
    • 2012-01-13
    • 2022-10-30
    相关资源
    最近更新 更多