# How to make images appear at their actual size?

Whenever I insert an image into my PDFTex document (using the code below) it seems to be resized to fit the width of the page. I know I can change this using the scale parameter, but that means I have to play with the scaling factor until it comes out roughly the size I actually created it.

\begin{center}
\includegraphics[scale=0.75]{ikonos.png}
\end{center}


Is there a way to display an image without scaling it to the width of the page?

-

Simply omit the optional argument and the picture will be inserted 'as is'

\begin{center}
\includegraphics{ikonos}
\end{center}


Be warned, however, that .png files often don't include the correct information on resolution. This will lead pdfTeX to insert them as 72 dpi images, which may not be desirable. See other questions on apparently 'blocky' images, for example.

-

Check the printing resolution of your PNG file. It's given in DPI, dots per inch. If necessary, adjust the resolution using a graphics software, there are free programs available. You might see that the DPI value of the PNG file affects the output.

You could use a pdfTeX parameter to specify the resolution of embedded images, if they don't contain that data: \pdfimageresolution<integer, like \pdfimageresolution96.

Alternatively, you may set the resolution by an option:

\includegraphics[resolution=300]{filename}


or

\setkeys{Gin}{resolution=72}

-