nullmastermind / inkscape-for-trace

Add a batch processing tool with fully customizable parameters to automate your Inkscape tasks more easily.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inkscape

Used only for automation scripts

Features

  • Add options for tracing

This is a video where I used this repository to automate some pixel art image editing: https://www.youtube.com/watch?v=-rXxJMkYn5w

Quick guide

# New trace action with fully optional parameters
selection-trace:{scans},{is_smooth[false|true]},{is_stack[false|true]},{is_remove_background[false|true],{speckles},{smooth_corners},{optimize}}
# Example:
# Trace 256 colors then export to output.svg
$ inkscape.exe --actions="select-all;selection-trace:256,false,true,true,4,1.0,0.20;export-filename:output.svg;export-do;" "input.png" --batch-process

# If "false|true" does not work, please replace it with "0|1", because my project has been bankrupt for a long time and is no longer maintained, but rest assured that it still works very well.

If you encounter the "png bitmap image import" settings popup, please follow this issue to disable it: #2

About

Add a batch processing tool with fully customizable parameters to automate your Inkscape tasks more easily.

License:Other


Languages

Language:C++ 93.7%Language:HTML 1.5%Language:C 1.3%Language:CMake 1.3%Language:Shell 0.6%Language:Python 0.5%Language:JavaScript 0.3%Language:Ragel 0.2%Language:Perl 0.2%Language:XSLT 0.1%Language:CSS 0.1%Language:POV-Ray SDL 0.0%Language:NSIS 0.0%Language:Batchfile 0.0%Language:Scilab 0.0%