[OS X TeX] Compressing pdf graphics

Maarten Sneep maarten.sneep at xs4all.nl
Tue May 22 16:40:40 EDT 2007


On May 22, 2007, at 19:14, Chabot Denis wrote:

> Recently I posted a question to the R mailing list because pdf  
> plots I make with it can be larger than png files when a lot of  
> objects are plotted (but offer much better quality, of course, in  
> particular for zooming in on details).
>
> What prompted my question was the fact that Acrobat can shrink  
> these graphics (or my LaTeX documents that contain lots of them)  
> quite a bit, and I was hoping there was a compression option I did  
> not know about.
>
> I'm including a reply I received because it suggests this  
> compression can be done within LaTeX.
>
> Do you know how to do this?

As far as I know, pdftex does not touch the objects it inserts from  
included files. This means that this compression cannot be used.

pdftk [1] will compress pdf files for you, either the individual  
graphics, or the final (pdflatex) output.

HTMH,

Maarten

[1] http://www.accesspdf.com/pdftk/

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list