2

When I use scale=0.3 I get a low quality images, Is this normal ? is there a way to avoid that ?

\documentclass[11pt,a4paper]{beamer}
\usepackage{graphicx}

\begin{frame}
    \frametitle{A m a title}

       \begin{figure}[hT]
       \includegraphics[scale=0.360]{imgs/classical.png}
     \end{figure}
    \end{frame}
\end{document}
  • 2
    Well, this depends on the quality of the original figure file as well, I would say. png is no vector graphics format, so scaling is always an issue then – user31729 May 31 '16 at 18:01
  • so it is better that I export my images in svg ? – user39755 May 31 '16 at 18:04
  • 3
    .png files are bitmaps, and don't scale well. if you can get a vector graphics file, that would be preferable. otherwise, if there is any way you can get the file directly at the size you want to use it, that would give much better results. (but it would still scale poorly for someone changing the magnification on a .pdf file while viewing it.) – barbara beeton May 31 '16 at 18:04
  • @Ojiryx: No, use .pdf or .eps and convert to .pdf then, but see barbara beeton's comment as well – user31729 May 31 '16 at 18:07
  • Define low quality, bitmap is usually not a problem when you scale down from a good quality starting point. So if your png is bad quality to begin with... – daleif May 31 '16 at 19:43
6

.png files are bitmaps, and don't scale well. if you can get a vector graphics file, that would be preferable.

as suggested by christian hupfer, a .pdf file (or .eps file converted to pdf) is best, since it is in the same format as the output file you are producing.

if you must use a bitmap file, try to get the file at exactly the size you intend to use it; that would give much better results. (but it would still scale poorly for someone changing the magnification on a .pdf file while viewing it.)

  • I did some comparison of graphics scaling between Microsoft Word and LaTeX. It is almost identical and slightly better in LaTeX. The Word version is slightly (but almost not) more blurry and the contrast is definitely better in LaTeX. – MaestroGlanz May 31 '16 at 20:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy