[texhax] \scalebox and resolution

Hartmut Henkel hartmut_henkel at gmx.de
Sat Aug 26 17:29:50 CEST 2006


On Sat, 26 Aug 2006, David C. Walden wrote:

> Suppose I have a bit-mapped image that has a resolution of 300 dpi
> and is 1200 pixels by 900 pixels -- 4 inches by 3 inches.  Suppose
> I include this image as a LaTeX figure using
>     \scalebox{.5}{\includegraphics{filename}}
> Does this result in a figure that has the same number of pixels in
> half the inches such that in effect

yes, there has only been added some transformation matrix, but the image
itself is untouched.

> The final PostScript file including this image will go to a book
> printing company company.

If the real resolution matters, you will have to scale the pictures down
by an external tool like convert, without any scaling in the .tex
sources.

Regards, Hartmut


More information about the texhax mailing list