batch/script/automateTrace Bitmap

Flesh out your ideas for new or improved Inkscape features before submitting a request.
ukurereh
Posts: 10
Joined: Sat Apr 14, 2012 11:35 am

batch/script/automateTrace Bitmap

Postby ukurereh » Sat Apr 14, 2012 1:38 pm

My personal wish is the ability, either via command line or scripting, to use the "Trace Bitmap" feature without user input. To set the trace settings, I'd either like to enter them in the script/command line, or have Inkscape remember the last-used settings even after being closed and reopened (set-and-forget!).

In my internet searching, I've seen more than a few people in need of batch tracing, and among other things it would make raster-to-vector video conversion possible.

jamadagni
Posts: 13
Joined: Tue Aug 09, 2011 12:38 am

Re: batch/script/automateTrace Bitmap

Postby jamadagni » Fri Jun 01, 2012 12:11 pm

I think you can simply use potrace (which Inkscape uses) or autotrace (if you want centerline tracing) from the commandline. See also this bug for autotrace.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: batch/script/automateTrace Bitmap

Postby ~suv » Fri Jun 01, 2012 11:06 pm

jamadagni wrote:
ukurereh wrote:My personal wish is the ability, either via command line or scripting, to use the "Trace Bitmap" feature without user input.
I think you can simply use potrace (which Inkscape uses) or autotrace (if you want centerline tracing) from the commandline. See also this bug for autotrace.

Check out this more recent topic: [SOLVED] How do I replicate Inkscape's bitmap tracer?
(ukurereh has written a new tool :) )


Return to “Inkscape Ideas”