我有一堆jpg图像,我可以使用Inkscape中的某些设置成功手动转换为.svg。但是我想从命令行运行批量转换。
是否可以通过命令行操作以下设置? :
Path / Trace path / Mode - (x) Grays Scans: [2 ]
Path / Trace path / Mode - [ ] Smooth
Path / Trace path / Mode - [x] Stack scans
Path / Trace path / Mode - [x] Remove background
Path / Trace path / Options - [x] Suppress speckles, Size: [2 ]
Path / Trace path / Options - [x] Smooth corners, Threshold [0.10]
Path / Trace path / Options - [x] Optimize paths, Tolerance [0.10]
// Something like
>inkscape.exe source.jpg result.svg --trace-path=<the_above_settings>