Vectorize several images
vectorize_batchVectorize multiple images in one call with shared settings, from a list or folder, writing outputs to a target directory or beside each source; one failure won't stop the batch.
Instructions
Vectorize many images in one call with the same options (one Vector Magic run per image, sequentially). Give either input_paths or input_dir (non-recursive; only supported image types are picked). Outputs go to output_dir, or next to each input. Returns one result per image; a failure does not stop the batch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | No | auto = Vector Magic picks a reduced palette (best for logos and flat artwork). unlimited = keep every colour (photos, gradients). | auto |
| detail | No | Level of detail. auto = what Vector Magic picks (usually high). low gives simpler shapes and smoother curves; high keeps small details. | auto |
| format | No | Output format. Editable vector: svg, ai, eps, pdf, dxf, emf. Bitmap rendered from the vector result: png, jpg, bmp, tif. Default svg. | svg |
| dxf_mode | No | DXF only. splines: lines + bicubic splines (smallest, most faithful). few_lines / many_lines: curves flattened into straight segments for CAD/CNC software that does not read splines. | splines |
| input_dir | No | Absolute folder: every supported image directly inside it is vectorized. | |
| overwrite | No | Replace an existing output file. Without it, files are never overwritten. | |
| output_dir | No | Absolute folder for the results (created if missing). Default: next to each input. | |
| shape_mode | No | How shapes are arranged. stacked: shapes sit on top of each other (easiest to edit, no gaps). adjoining: shapes fit into cut-outs of the shapes below. adjoining_grouped: adjoining and grouped by colour. | stacked |
| input_paths | No | Absolute paths of the images. | |
| show_window | No | Keep the Vector Magic window on screen while it works (debugging). By default it runs off-screen. | |
| bitmap_scale | No | Bitmap formats only: render at 1x, 2x or 4x the original pixel size. | |
| stroke_shapes | No | Outline every shape boundary with a stroke of its own colour (hides hairline gaps in some viewers). |