【发布时间】:2015-04-11 22:10:10
【问题描述】:
我想把postscript的背景颜色从白色改成黑色,这是ps文件:
%%Page: 1 1
%%BeginPageSetup
%%PageOrientation: Landscape
pdfStartPage
0 0 540 720 re W
%%EndPageSetup
[] 0 d
1 i
0 j
0 J
10 M
1 w
/DeviceGray {} cs
[0] sc
/DeviceGray {} CS
[0] SC
false op
false OP
{} settransfer
q
q
1 i
0 0 540 720 re
W*
0 0.03 540 720 re
W
/DeviceRGB {} cs
[0 0 0] sc
[1 1 1] sc // it means [R G B] (range: from 0.0 to 1.0)
... e.g. if it is changed to [0.5 0.5 0.5]
, then the background color is grey
在最后两行,它们完全一样;只有最后一行可以改变背景颜色,但倒数第二行不能。为什么?
【问题讨论】:
标签: postscript