1

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
Siebe

The way every figure is currently imported is with:

\begin{figure}
\centering
\includegraphics[width=0.6\textwidth]{Figures/Solution/Antenna/Monopole/NEC/MonopoleModel.png}
\caption{Monopole antenna model in NEC}
\label{fig:antenna_nec_monopole}
\end{figure}
2
  • 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

0

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.