Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I convert a .jpg image to an .eps?

share|improve this question

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

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

add comment

6 Answers

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

Convert Image To EPS

share|improve this answer
    
Not helpful if you have a large number of files –  twneale Jul 27 '13 at 2:26
add comment

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.

share|improve this answer
add comment

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

share|improve this answer
add comment

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 OS X 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.

Just be sure to "embed" rather than "link" when you import.

share|improve this answer
    
I ever wrote a small webpage to convert images to EPS for myself: JPG to EPS converter . This may help others without a Linux aside. –  ericzma Nov 15 '12 at 3:14
add comment

gimp is a great tool for converting files to other popular formats - http://www.gimp.org

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.