[Tex/LaTex] Reducing the REAL size of an image (compressing) when using \includegraphics

graphics

I know when downscaling images we can just use the scale option. But as far as I know, this doesn't change the size of the overall output (let's say the PDF file).

\begin{figure}
\centering
\includegraphics[trim=1cm 6.1cm 6cm 14.0cm, clip=true, scale=0.3]{figs3.pdf}
\caption{The averaging blocks with $W=2$.}
\label{fig:theAvgBlock}
\end{figure}
  1. Is there anyway to compress the figure when we downscale using scale option?
  2. When we trim the figure, and clip=true, does it through away the extra parts? In other words, does it decrease the size of the figure?
  3. Is there anyway to compress images inside Latex ?

The original problem is that I am using zoombox to include magnified subfigures of a BIG image, but I want to put a figure with smaller size instead of the full high-quality figure. (because of size limitation) At the same time, I want the magnified figures to be from the high-quality figure. Any ideas how to do this?

Best Answer

Inclusion of images in a LaTeX document does not alter them at all, whether clipping or not. As such, if you want smaller output files you'll either need to pre-process the images or post-process the PDF file. It's important to note that as clipping is purely an effect on the appearance of the PDF, you should not use it to 'hide' anything you don't want people to see. Anyone interested enough will be able to find it inside the PDF.