Skip to content

Export

The bottom of the panel, with live Paths, Nodes and Size.

Button Gives you
Download SVG <name>.svg, optimized
Copy SVG The same markup on the clipboard
Layers (.zip) One SVG per color, plus the background and the whole drawing
Objects (.zip) One SVG per object (each icon or sticker), cropped to it

Size and other formats, under the buttons, sets the size every download uses and offers PNG, PDF, EPS, DXF and swatches.

  • Size: width and height in px, mm, in or pt (96 px to the inch). Height follows the drawing’s proportions. The SVG gets that width and height, so it opens at a physical size; its viewBox is untouched, so it still scales cleanly. Reset to the traced size goes back to the trace’s own pixels.

  • PNG: rendered by the browser from the vector, at the export size × 1–4 (px sizes) or at 72–600 dpi (physical sizes). The button shows the pixel size you’ll get. Transparent unless you’ve added a background.

  • PDF: one page exactly the export size, every shape a filled vector path in its shown color (Centerline strokes stay round-capped strokes, their width scaled with the page, and a gradient a smooth shading clipped to its shape), with the background behind them if set. Built in the browser (apps/app/src/lib/vectorExport.ts): five objects and a compressed content stream, checked with qpdf --check and by rendering it back.

  • EPS: the same paths as PostScript, with a bounding box of the export size, for print and cutting software that still asks for it. Gradients use PostScript 3’s shfill.

  • DXF: for CAD, CNC routers and laser cutters. One layer per color (named for it, INK_1E3C8C, with the nearest CAD color; a gradient shape is on its average color’s layer), every outline a closed polyline and every Centerline stroke an open one. Curves are flattened to within 0.05 px of the drawing (0.05 mm on a 640 px trace exported at 640 mm), at the export size in its unit, with millimeters and inches named in the header. It’s DXF R12, which every CAD and cutting program reads; checked by opening it with ezdxf, whose audit finds nothing to fix.

  • Swatches: the colors as drawn, so you can take a palette into other tools: .ase (Adobe Swatch Exchange, for Illustrator, Photoshop and InDesign), .gpl (GIMP palette, which Inkscape and Krita also read) or CSS custom properties (--color-1d3557: #1d3557;). Colors come in paint order, the background first if you’ve added one, each named by its hex; a gradient shape gives its stops’ colors. They follow your color edits: a replaced color is listed as its new color, a merged one isn’t listed, and a removed one is left out.

The Sticker switch, at the top of the export column, puts a solid backing behind the whole drawing, and every download (SVG, PNG, PDF, EPS, DXF) becomes the sticker: its page is the backing’s bounds at the export size’s scale. The drawing’s own background shape is left out, so the backing shows round the art.

  • Shape: Follow (the art’s outline, grown by the border, holes filled, objects closer than twice the border joined), Circle (the smallest circle around the art), Oval (the art’s proportions), Square or Rectangle.
  • Border or Margin: from 0.5% to 15% of the art’s longer side, shown in mm at a physical export size.
  • Round off (Follow): fills tight inside corners, so a blade can follow the line. Corners (Square, Rectangle): sharp to fully round.
  • Color: white, black, the drawing’s colors or any color.
  • Add a cut line: a magenta (#ec008c) hairline around the sticker for Cricut, Silhouette or a print shop, with Bleed (0–3 mm) of backing past it. In the SVG it’s <path id="cut-line">, last; in the PDF and EPS a 0.25 pt stroke; in the DXF its own CUT layer (the backing has a BACKING layer). A PNG leaves it out.

The backing is worked out by sticker() in the npm package (see the API), in the tracing worker.

  • A viewBox at the traced size, so it scales cleanly.
  • The background first (if set), then every visible shape, largest first.
  • Removed colors are simply absent, so those areas are truly transparent.
  • No editor furniture: overlays, selection and the mirror axis are never part of it.

It’s optimized with SVGO (preset-default, multipass, two decimals) in the background after each change. The numbers in the panel come from that optimized file, so they’re the numbers you download. SVGO may write the background rectangle as a path.

For screen printing, vinyl cutting or anything else that wants one file per color:

File Contains
<name>-00-background-<hex>.svg The background alone, if set
<name>-01-<hex>.svg, -02-… Each remaining color, most-used first, named by its shown color
<name>-all.svg The whole drawing

With every preset but Poster, neighboring layers share their edges exactly, so they register perfectly when printed or cut.

For a sheet of icons, stickers or logos, Objects (.zip) writes each object as <name>-object-01.svg, -02-…, bottom of the paint order first. An object is the same set of shapes Group by object in the Edit tab would group: shapes that touch, or sit as close as the letters of a word. Each file is cropped to its object, rounded out to whole pixels, at the scale Size sets. The background (a shape as big as the drawing, or the color behind it) isn’t in any of them. You don’t need to group first.