EPS 的透明度——pdfmark 有用吗?

发布于 2024-09-10 15:54:34 字数 871 浏览 1 评论 0 原文

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

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

I'm trying to implement an export to EPS feature (in C++), and I'm using the pdfmark (pdf) extensions for transparency, but I have yet to see them have any effect. I'm using Illustrator 14.0 and GSView 4.9 as clients. Even using this example from Adobe's docs produces no transparency.

%!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

Is there another flag I need to set? Or is it just a problem with these clients?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半衾梦 2024-09-17 15:54:34

我发现,如果您

/AllowTransparency false

替换为,则使用 pdfmark 实现透明度确实可以在 Adob​​e Distiller(将 EPS 转换为 PDF)中使用。

/AllowTransparency true

.joboptions 设置文件中

I have found that using pdfmark for transparency does work in Adobe Distiller (which converts EPS to PDF) if you replace

/AllowTransparency false

with

/AllowTransparency true

in the .joboptions settings file.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文