Illustrator-Aktionen - Live-Trace-Einstellungen

Ich versuche, ein Makro so einzustellen, dass PNG-Vektoren im Batch-Modus in SVG-Vektoren umgewandelt werden, aber ich stecke bei der Live Trace-Aktion fest. Illustrator verwendet nur die Standardvoreinstellung. Wie kann die Standardvoreinstellung überschrieben ODER eine Aktion mit einer benutzerdefinierten Voreinstellung erstellt werden?

Ich benutze Illustrator CS6

Vielleicht haben Sie mehr Glück, wenn Sie in den offiziellen Adobe Illustrator Scripting-Foren nachfragen: forums.adobe.com/community/illustrator/illustrator_scripting

Antworten (1)

Sie können dies über Scripting tun, ein schnelles Vorlagenbeispiel:

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;
Wie benutzt man es?