I write a lot latex documents and most of the documents have images in it. Latex deals EPS very well, while sometimes we need to add JPG / PNG images to it. I find converting the JPG images to EPS ones is the most convenient way to embed JPG images to latex documents. On Linux, this is quit easy with ImageMagick.
An online tool is available: [[an-online-jpg-to-eps-converter]].
You need to install ImageMagick if it is not already installed in the system:
# yum install ImageMagick
Convert image image.jpg from JPG to EPS format:
$ convert image.jpg image.eps
For other image formats, the command is similar.