1

I'm trying to set a macro to batch vectorize png to svg vectors, but i'm stuck at the Live Trace action. Illustrator will only use the default preset, how can overwrite the default preset OR create an action using a custom preset ?

i use illustrator CS6

1

1 Answer 1

2

You can do this via scripting, a quick template example:

var traceobj = selection[0].trace();
var opt = traceobj.tracing.tracingOptions;

opt.cornerAngle = 90;
opt.fills = true;
opt.ignoreWhite = false;
opt.maxColors = 32;
opt.maxStrokeWeight = 0;
opt.minArea = 5;
opt.minStrokeLength = 3;
opt.outputToSwatches = true;
opt.palette = '';
opt.pathFitting = true;
opt.preprocessBlur = 0;
opt.strokes = false;
// threshold = 120 // BW only
opt.tracingMode = TracingModeType.TRACINGMODECOLOR

traceobj.tracing.tracingOptions = opt;
1
  • How do you use it?
    – nowox
    Commented Feb 16, 2020 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.