Created
May 8, 2012 03:59
-
-
Save reyoung/2632445 to your computer and use it in GitHub Desktop.
Convert png,jpg,bmp file to eps.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
:: @abstract This script convert all jpg,png,bmp files in current path to eps files. | |
:: 这个脚本可以将本目录的所有jpg,png,bmp转换成eps文件。 | |
:: @note The bmeps command must exist and in system PATH. | |
:: 必须在系统中有bmeps命令,如果按照完整版CTex,就已经存在了。 | |
:: @author reyoung <[email protected]> | |
set PreExtent=*.jpg *.png *.bmp | |
set PostExtent=.eps | |
FOR %%c in (%PreExtent%) do ( | |
echo Converting File %%c | |
bmeps -c %%c %%~nc%PostExtent% | |
) | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment