Free Open Source PNG to EPS and JPG to EPS Converter for Windows
Download
Download JPG-PNGtoEPS.zip
Copyright
This software was compiled by RichardSocher and is published under the GNU General License. It uses mostly the nice Sam2p software by Szabó Péter (pts -@- fazekas.hu)
(downloaded from http://www.inf.bme.hu/~pts/sam2p/ and recompiled with his consent) and adds a batch file in order to make the conversion from jpg or png files to eps as simple as possible.
How-To
All you need to do to convert png files to eps files is to click on batchConvertAllPngToEps.bat inside windows explorer. This batch script then creates eps files for all files that are in the same folder. If you want to include these in a latex document, just omit the extension:
\includegraphics[width=0.45\textwidth]{pcaSpiral}
then pdfLatex will use the png file and Latex may use eps file for DVI.
Comments
I'm downloading and saving and it won't work. It has something to do with the zip on the end?
Thanks a lot! Works Great.
Awesome. Tip for windows : even if it's a png file you need to write .png at the end of the filename otherwise it doesn't create any eps file.
Thanks working fine for Latex...
abc? — 25 October 2011, 01:45
uli? — 26 July 2011, 14:22
Great tool, thanks a lot!
yang? — 23 July 2011, 16:17
Hi richard
I did as you told, But it does not recognize my png files: it does not convert
esp? — 12 March 2011, 20:05
debeV? — 08 September 2010, 14:09
this is an excellent product. worked like a charm
mnrao? — 08 August 2010, 15:32
But I get only 1/4 of jpg in eps.
Zrk? — 01 June 2010, 03:05
Thank you !
It worked well out of the box. I didn't have to look any further on the net to find what I looked for : the 1st link in Google was the good one.
AKE? — 23 December 2009, 13:39
Thanks for this package.
Here's a simple bat script that users of the package may find useful.
Cheers!
@echo off
:: Assad Ebrahim, 2009-12-23
:: assad - dot - ebrahim - at - mathscitech - dot - org
:: png2eps.bat wrapper script for JPG-PNGtoEPS.zip from Richard Socher (www.socher.org)
:: USAGE:
:: 1. Put this bat file in the directory where you have a png you want to convert.
:: 2. Set INSTALLDIR to point to where you have unpacked JPG-PNGtoEPS.zip
:: 3. Run this bat file in cmd shell with the command:
:: png2bat <filename-without-ext>
::----------------------------------------------------------------------------------------------------
:: USER: set this to point to directory containg sam2p.exe, png22pnm.exe, etc.
set INSTALLDIR=c:totalcmdTeXpng2eps
:: Run app from app directory, referencing files located in current directory
set CURRDIR=%CD%
pushd %INSTALLDIR%
echo Converting: %1.png --to %1.eps...
sam2p %CURRDIR%%1.png EPS: %CURRDIR%%1.eps
echo Done!
:: Restore to current directory
popd