3

Possible Duplicate:
My pixel perfect picture gets blurry when compiled in LaTex

When including a small bitmap scaled to a larger size: how can I disable anti-aliasing?

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics[scale=15]{sqares.png}
\end{document}

yields

output with anti-aliased sqares

with this image:

squares.png

topskip
  • 37,020
  • I'm not sure if this helps you, but the question is quite similar: http://tex.stackexchange.com/questions/10975/my-pixel-perfect-picture-gets-blurry-when-compiled-in-latex – Dave Dec 31 '12 at 15:32
  • I found another question like this: http://tex.stackexchange.com/questions/21732/deactivating-anti-aliasing-when-typesetting-qr-code by now, I'm sure that you will have to turn it off in the reader, not in LaTeX. – Dave Dec 31 '12 at 15:35
  • @Dave oh yes, this is viewer-dependent :( Acrobat Reader works fine, Mac Preview (Skim) is blurry. – topskip Dec 31 '12 at 15:35
  • Can be closed as duplicate or I'll delete it. Thanks @Dave! – topskip Dec 31 '12 at 15:48
  • Actually there is a flag in the PDF spec, but it is ignored by some PDF viewer applications :( (cf. "Image Interpolation") – topskip Dec 31 '12 at 16:01

0 Answers0