I'm using overleaf to write the report of a big group project. There are lots of figures in the file. Thing is, I noticed that the pdf file output is becoming larger and larger due to the large png files that are imported. (already 30MB with only 17 pages) Most of the figures are scaled fairly small so I don't actually need the full resolution available.
Is there any way latex can change their resolution for me when I compile? In best case scenario, set their resolution based on the eventual size in the pdf file?
Resizing them all manually is not really an option because there are about 40-60 figures already.

Thanks in advance

The way every figure is currently imported is with:

\caption{Monopole antenna model in NEC}
  • 5
    you need to do it externally, the number of files should not be an issue you can script a loop calling image magic convert or similar tools May 17 at 18:21
  • More to the point, scaling the images has no effect on PDF file size. You can verify by zooming in on the images to see the original resolution. May 17 at 21:51


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.