Generaljpg vs eps, which is better for using

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
akira32
Posts: 45
Joined: Tue Nov 13, 2007 10:32 am

jpg vs eps, which is better for using

Post by akira32 »

jpg vs eps, which is better for using?
I have a confusion about the picture format.
The eps is a vector picture? The jpg can define the different size in LaTex?
The scaling of jpg is linear interpolation when the size of jpg is different with its original size?
Using which picture format is the best choice?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

jpg vs eps, which is better for using

Post by Stefan Kottwitz »

Hi akira32,

it may depend what type of content you mean (photo, CAD drawing, ...)
eps is postscript format, vector image, you can use it with latex but not with pdflatex. With pdflatex you can use jpg, png (both raster image format) and pdf images.
If your original image (photo) is in jpg format then you should keep it and include it as jpg, I would not convert it to eps. If you produce drawings, graphs etc. and you can generate vector graphics choose pdf or eps format.

Stefan
LaTeX.org admin
Post Reply