Skip to main content
Participant
November 21, 2008
Question

How to change ps file page background to transparent

  • November 21, 2008
  • 3 replies
  • 3739 views
Hi,
I'm converting html to ps, but it produces a solid white background color. how should I change the ps file so the page background will be transparent after converted to image?
This topic has been closed for replies.

3 replies

Participating Frequently
December 16, 2008
In the case of this sample file, the white background is generated by the statements (the comments beginning with a percent sign added by me):

b [1 1 1] sc % set red, green, and blue to maximum, i.e. white

b 0 0 800 47 re % define a rectangle that describes the area

b f % fill the rectangle with the defined color

Note that the instructions like "sc" etc. are defined in the prologue section of the file.

And the file looks like generated by (or by a descendant of) the xpdf suite from a PDF file. Therefore the possibility of an algorithmic solution for stuff like this seems rather unlikeky
Participant
November 21, 2008
Hi,
Thank you for the reply.

The sample file can be retrieved on http://adbuilderdev.falconocp.com/companyname.ps

It has solid white background, and I need to change the background to transparent.

Thanks again for the help...
Participating Frequently
November 21, 2008
It depends on how the application generating the PostScript job implements the white background.

If you could supply a sample file, I possibly could give you some hints .

Helge