# Image is not showing full width and height [duplicate]

Possible Duplicate:
Image from \includegraphics showing in wrong image size

Image is not showing full width and height, it is showing 100% as single dot, when you zooming view this picture some what bigger. I also mentioned the width and height for the picture is not showing it correctly. Its always showing like this. What we do this in LaTeX? Please look at the two images.

\documentclass{article}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{float}
\begin{document}
Text
\begin{figure}[ht]
\centering
\includegraphics[scale=0.5]{pic3}
\caption{caption text}
\label{fig:image}
\end{figure}
\end{document}


-

## marked as duplicate by Martin Scharrer♦Aug 1 '11 at 15:21

What kind of image file is pic3? Are you compiling with latex or pdflatex? – Martin Scharrer Jul 25 '11 at 8:13
Usually \includegraphics is used as \includegraphics[width=0.8\linewidth]{pic3}. I am not sure that LaTeX is able to get a correct size of picture for any format. E.g., jpeg image has no 'size' in dimension units at all.
Indeed, setting a width explicitly should help. Normally pdflatex should not have any issue with JPG and PNG images, but sometimes the resolution meta-data in such files is incorrect or not suitable. – Martin Scharrer Jul 25 '11 at 8:16