# LATEX image formatting giving problems with PNG

I am trying to include images into my latex code. I use the following code:

\begin{figure}[ht!]
\centering
\includegraphics[width=90mm]{fixed_dome1.png}
\caption{A simple caption}
\label{overflow}
\end{figure}


In the preview it comes out nicely. But when I export document to a pdf, the image gets blown up like this:

What is going wrong? I am using Latexlab.org for my project.

• Welcome to TeX.SX! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. About your question: PNG files are bitmap, so they can't generally be zoomed in without that effect. – egreg Aug 3 '14 at 12:47
• Exactly what do you mean by looks fine in preview but wrong when exporting to PDF. Exactly how are you compiling this? – daleif Aug 5 '14 at 13:51