Step-by-Step Workflow
Upload & Set Complexity ️
Upload your image and use the Color Count slider to determine how detailed the trace should be. Fewer colors result in a cleaner, flatter, more stylized graphic, while more colors capture shading and gradients.
Tune the Target Palette
Before processing, the tool extracts a color palette. You can manually adjust these colors by clicking the swatch, or click the Eyedropper Tool and click anywhere on the preview image to perfectly sample a specific pixel!
Vectorize!
Click "Vectorize Image". The engine will trace the shapes of each color layer and convert them into smooth mathematical curves.
Post-Process & Merge Layers
In the Layer Editor, you can clean up the final result. Drag and drop one color swatch onto another to instantly merge those two paths! You can also click the trash icon to completely remove unwanted backgrounds or noise.
Split or Combine ✂️
Use the toggle on the preview card to view the final SVG as a single image, or separate it into Split Layers. The split view automatically adds registration marks, making it perfectly prepped for screen printing, vinyl plotting, or laser cutting!
Technical Specs & FAQs
Color Quantization
Before tracing can begin, the millions of colors in a standard photo must be strictly reduced. The service leverages rgbquant and colorthief to analyze the image, build an optimized color histogram, and map every single pixel to the nearest match in your defined palette.
WASM Potrace Engine
The heavy lifting is powered by esm-potrace-wasm. Potrace is an industry-standard algorithm that takes a binary bitmap, traces the outline of the shapes to create polygons, and then optimizes those polygons by fitting smooth Bezier curves to them. Because it's compiled to WebAssembly, it runs at near-native speeds right in your browser.
Non-Blocking UI Generation
Vectorizing layer by layer is computationally expensive. To prevent the browser tab from completely freezing during processing, the service uses a yieldToMain() function wrapped around requestIdleCallback. This briefly pauses the loop, allowing Angular to update the progress bar and the browser to handle user interactions before resuming the math.
AST DOM Manipulation
Features like "Split Layers" and "Drag-to-Merge" don't require recalculating the vectors. Instead, Angular parses the raw SVG string into an active Document Object Model (DOM). It dynamically merges <path> attributes, unwraps translation groups (<g>), recalculates bounding boxes (viewBox), and injects SVG registration marks natively on the fly!