I have some code that is generating bitmaps for me (pseudocolor plots), and I'm using pgfplots to wrap the bitmap portion in nice axes etc. These bitmaps that I'm producing are saved as png files so that they don't suffer from compression. However, when pdflatex compiles a document with a png in it, it resamples the graphic. I'd like to be able to include the png file in such away that nothing is added or taken away. I'm a bit OCD about information being added or taken away from plots...
As a simple example:
Code: Select all
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{124_cropped}
\end{document}
Ultimately this is not a deal breaker for me, but it would be nice to see the plot I generated come out of the process without being mangled. If there is an easy way of avoiding this, perhaps by converting the png to a pdf in a lossless manner first, then I'd appreciate any advice.
Thanks!