7

I'm writing a Master thesis when I need to include several photographs, but I've got a problem with the size of the generated PDF: 18MB, which is more or less the cumulated size of all the picture included.

How can I tell Latex not to keep the original picture and reduce it, but to shrink the picture before including it in the PDF?

I use \includegraphics[height=6cm]{img/cinema.jpg} to include my figures.

Thanks

Kevin
  • 4,618
  • 3
  • 38
  • 61
  • 2
    you might be interested in the (currently beta) [tex.SE](http://tex.stackexchange.com/) site. – Philip Potter Aug 30 '10 at 14:54
  • thanks, I'm actually sliding between the two sites; are we supposed not to ask any question about tex or or StackExchange on SO from now on? – Kevin Aug 30 '10 at 15:28

3 Answers3

6

You need to reduce the size of your pictures yourself before you include them (with software of your choice). That's the simple solution.

I think the rationale for including in full is that PDF is a vectorial page description language, and you might want to render a page at an arbitrary resolution later.

Pascal Cuoq
  • 79,187
  • 7
  • 161
  • 281
  • thanks; I will wait to see if there is no other solution, but I guess that you're right with the vectorial problematic – Kevin Aug 30 '10 at 15:26
0

There is a package called "degrade" that does this. I have not tried it, and it is not included in TeXLive, so you will need to install it manually.

Also, PDFLaTeX should have some compression arguments.

The V
  • 113
  • 5
0

You can use primoPDF to downsize all pictures at once, after you created the pdf in Latex.

Joris Meys
  • 106,551
  • 31
  • 221
  • 263