Created
June 11, 2016 06:52
-
-
Save 02015678/1d5cb8f6a64a887740699b85bfca6f1a to your computer and use it in GitHub Desktop.
PDF: Convert Text to path and crop according to boarding box
This file contains hidden or 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 | |
:: 在下一行设置Inkscape可执行文件的路径 | |
set inkscape="C:\Program FIles\Inkscape\Inkscape.com" | |
:: 枚举当前文件夹下所有的PDF,将文本转换为路径,并抛弃页面边界以外的对象 | |
for %%i in (*.pdf) do ( | |
echo processing %%i | |
%inkscape% %%i -C -T -A %%i | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment