Graphics, Figures & Tables ⇒ PS file HUGE due to background ima; Have an idea please help
PS file HUGE due to background ima; Have an idea please help
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}}}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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
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
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!