[texhax] Img quality in pdf

William F. Adams wadams at atlis.com
Fri Feb 4 18:01:50 CET 2005


On Feb 4, 2005, at 11:24 AM, tomlobato wrote:

>   I \usepackage{graphicx} for \includegraphics{diagrama-vpn.jpg} in my
> Latex/PDF document, but its generating lower quality images than the
> original. If you want to see diagrama-vpn.jpg and the PDF generated, 
> see
> http://soc.if.usp.br/~tlobato/pdf.
>
>   For generate pdf, on Linux debian sarge, I use pdflatex version
>
> "pdfeTeX (Web2C 7.4.5) 3.14159-1.10b-2.1
> kpathsea version 3.4.5"
>
>   I already tried to convert image to EPS format and use epsfig 
> package, and
> some anoother tricks, but all without results.
>
>   Some hint for enhance this image in the PDF?

Start with a better quality original. Presumably this was drawn up in 
Visio or something along those lines, get the source program / person 
to cough up a vector .eps or .pdf or .svg or something. Worst case, get 
them to make a 300dpi version (at least 4 times the pixels you 
currently have left-right and top-bottom)

The .jpg is 322 x 213 pixels/points (@ 72dpi) and when placed in the 
.pdf is exactly the same.

The perceived difference in quality is that when viewed on-screen as a 
.jpg it's displayed at 1 pixel in the image per one pixel on-screen. 
When you place it in a .pdf, unless you view it at 100% on a display 
coordinate system set to 72 dpi there's going to be scaling / 
interpolation which results in a less than perfect representation.

William

-- 
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



More information about the texhax mailing list