This question is very similar to Image from \includegraphics showing in wrong image size, but not quite the same.
The size of the image that appears in my manuscript depends entirely on the dpi setting I give it in IrfanView. It doesn't matter which width or scale settings I use - these settings only determine the horizontal and vertical offset of my image. Now I have tried including the same image in both .png and .pdf format, always the same result.
However, I have used .eps figures a lot, and there it very easy to change the size with a simple width. Is it somehow possible to do the same with figures that are not .eps? I will be dealing with a lot of figures in the next few months and would prefer controlling the image size directly from within LaTeX, instead of having to go through another program.
I am using pdflatex with the graphicx package and define my figure as such:
\begin{figure}[ht]
\centering
\includegraphics[width=0.8\textwidth]{MyFigure.png}
\caption{My Caption}
\label{fig::myFig}
\end{figure}
graphicsknows the following driver options:dvips,xdvi,dvipdf,dvipdfm,dvipdfmx,xetex,pdftex,dviwindo,emtex,dviwin,oztex,textures,pctexps,pctexwin,pctexhp,pctex32,truetex,tcidvi,vtex. Each DVI driver or TeX engine has different capabilities regarding images. Therefore it is quite important to know, which driver you are using. Also add a MWE to clarify, what you are doing. I know about keyswidthandscalefor\includegraphicsof packagegraphicx. But\widthand\scalesettings could mean something different. – Heiko Oberdiek Apr 22 '14 at 03:57