I have some issues to have a good quality for images (due to scaling I presume) when compiling to pdflatex. I read if I convert bitmap images to vector images, it would be better (png -> pdf for instance). Anyone can tell me more about this?
1 Answers
You are exatracting images from a PDF file, so first you should find out if the original picture is vector or not. If it scale up well and does not pixelate while you zoom in, it is vector. If it pixelates, then it is not vector; it is raster.
If the original picture is not vector (which is the case here), the most you can do is extracting the image from the PDF instead of making screenshots of it. If you are on windows, clicking on the image in image selection mode gives you the ability to copy it. If you are on linux, use pdfimages command to extract the image from the desired page.
You can also directly crop the PDF and embed the picture in your output. It works well with both vector and raster images.
This example shows how you can do this:
\begin{figure}[htbp]
\centering
\includegraphics[trim=0.5cm 11cm 0.5cm 11cm, width=1.00\textwidth]{yourfile.pdf}
\caption{Title}
\label{fig:something}
\end{figure}

.pngimage, use this one withpdflatexinstead of converting it to.pdf. – Habi Aug 10 '15 at 14:20pdfimagescommand to extract the image from the desired page. Also, you can directly crop the PDF and embed the picture in your output. See an example: http://tex.stackexchange.com/questions/25806/how-can-i-crop-included-pdf-documents – Ho1 Aug 10 '15 at 14:37