Ok this is the thing: I'm using the path Latex=>PS=>PDF to be able to use Pstricks etc.
Also, I'm using a sort of watermark figure as background for my pages (made with photoshop). Result is, of course, that in the processing of the PS file this figure is placed on every page. Having around 25 pages this resulted in a whopping 1.4 gb ps file! ! ! Leaving the background out reduces it to about 90 mb.
So I've read that 'cause PS is a script, I can tell it to print a certain thing x times. So I used the savebox command, and later use it. This didnt reduce the file size though, any suggestions?
This is my code:
\newsavebox\mygraphicone
\sbox\mygraphicone{\includegraphics{eps/backgroundeven.eps}}
\newsavebox\mygraphictwo
\sbox\mygraphictwo{\includegraphics{eps/backgroundoneven.eps}}
\leftwatermark{\put(-166,-742.7){\usebox{\mygraphicone}}}
\rightwatermark{\put(-94,-742.7){\usebox{\mygraphictwo}}}
Graphics, Figures & Tables ⇒ PS file HUGE due to background ima; Have an idea please help
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
PS file HUGE due to background ima; Have an idea please help
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: PS file HUGE due to background ima; Have an idea please help
wow right on the spot. That worked. 'only' 188 mb now. PDF is 6mb.
2 more questions:
1)Any other options to reduce the PS size?
2)Is there quality loss between latex=>PS=>pdf compared to latex=>pdf.
The latted one produces a larger pdf (about 10 mb).
Thanks for the wonderful help!
2 more questions:
1)Any other options to reduce the PS size?
2)Is there quality loss between latex=>PS=>pdf compared to latex=>pdf.
The latted one produces a larger pdf (about 10 mb).
Thanks for the wonderful help!