Please tell me how to convert .jpg image to .eps image ?

link|improve this question
feedback

migrated from stackoverflow.com Jan 3 '11 at 4:56

This question came from our site for professional and enthusiast programmers.

4 Answers

ImageMagick can do this.

From the commandline, simply type:

convert filename.jpg filename.eps

(On Windows you may need to put in the full path to convert.exe inside quotation marks; the above will work as is on mac or linux.)

It doesn't really make any sense to convert a raster graphic to a vector graphic, however. It'll still be rasterized.

Another way of doing it with a GUI would be to use Inkscape ; I'm pretty sure it can import most formats, and it definitely can export to .eps -- it does have some ways of trying to trace paths in a vector image to recreate the vectors, but it's far from failsafe.

(EDIT: Yes, double checked and Inkscape will happily import JPG and export to EPS. Just be sure to "embed" rather than "link" when you import.)

ImageMagick and Inkscape are both free, open source, software.

link|improve this answer
feedback

If you just want to convert an image or two to eps - use an online utility...

Convert Image To EPS

link|improve this answer
feedback

If you just want the jpeg image contained in the .eps file (and not vectorized), try this code

http://code.google.com/p/sam2p/

It's C++ source, and takes several image formats and puts them inside a compliant .eps file as an embedded image.

link|improve this answer
feedback

if the question involves postscript the answer is generally ghostscript / ghostview

link|improve this answer
feedback

Your Answer

 
or
required, but never shown