Graphics, Figures & Tables ⇒ Does latex modify image quality like word does?
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Does latex modify image quality like word does?
I just want to make sure that when I place my jpegs within lyx, it will not affect the quality. I will probably modify the size of the images in order to fit them within the margins of the page, but I do not want the program to change the resolution or affect the quality of the printed book in any way.
Will the program modify my jpeg images in any such way?
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Does latex modify image quality like word does?
myimage.eps
into myimage-converted-to.pdf
and embeds the latter.Have also a look at Heiko Oberdiek's excellent answer to a question with similar concerns.
Regards
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Re: Does latex modify image quality like word does?
When I add my image cropped to 2:3 ratio into lyx, and then resize (shrink) the image in Lyx so that it fits the margins, this DOES NOT affect the image resolution?
I.e. when I print the 300ppi image from the pdflatex document it will still look like a printed 300ppi image? This means that I DO NOT have to scale my image to the exact size BEFORE placing it into my lyx (latex) document?
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
- Stefan Kottwitz
- Site Admin
- Posts: 10350
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Does latex modify image quality like word does?
Don't scale or resize a bitmap image within LaTeX, to avoid a change of the image.
It's very recommendable to use vector graphics for images, because they can be scaled without quality loss. If you produce the pictures yourself, you can use for example Inkscape. If you have only bitmap data, such as jpg and png, use a high resolution, i.e. 300ppi or more.
Stefan
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Does latex modify image quality like word does?
Interestingly enough I went to a local printer and printed a few pages with test images. Here's my report posted on another internet forum:
In the following example, the original image is 72ppi and 1920 x 2560 pixels.
Today I stopped by the local printer, and printed out a few trial pages of my book with images. The last four pages were full pages with the same image, however, I applied different resizing/resampling permutations to the image.
1) When I resampled to 300ppi AND resized to the exact dimensions needed for my book in Irfanview, THEN inserted the images into Lyx as is, the quality was not good. It was easy to see jagged edges around round objects.
2) I also resized but didn't resample the same image. I resized it in Irfanview to the exact dimensions I needed, and then inserted it into Lyx. I can't tell any difference between this image and the image I mentioned in number one. Both do not look good, and they equally don't look good.
3) I resampled to 300ppi in Irfanview but did not resize. Then I inserted the image into Lyx and shrunk the image to the size I needed. The result looks good.
4) I did not resample and I did not resize in Irfanview. I simply inserted the original image into Lyx and shrunk it to the size I needed. The result looks good, and it looks equally good as the image in number three.
So, 300dpi is apparently not necessary, and it is not desirable to resize the image externally (At least if you are using Lyx).
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
Re: Does latex modify image quality like word does?
Every printing company is different, so do I just cross my fingers?
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class