Releases: neplextech/vectorizer
Releases · neplextech/vectorizer
v0.1.0
Changelog
New Features
- Abort signal support —
vectorize,vectorizeRaw,readImage,colorExistsInImage, andfindUnusedColorInImagenow accept an optionalAbortSignalfor cancellation - Callback-based streaming — Added
vectorizeToCallbackandvectorizeRawToCallback, which emit SVG chunks incrementally with aprogressvalue (0–100). UseisEOF(chunk, progress)to detect stream completion - SVG optimization — Added
optimizeandoptimizeSyncpowered byoxvg_optimiser, supporting SVGO-compatible plugin config,preset-default/safe/nonepresets, and multipass optimization - CLI optimization —
npx @neplex/vectorizer optimizecommand added for optimizing existing SVGs, with--optimize,--multipass, and--multipass-iterationsflags available during vectorization as well - Exposed internal APIs —
readImage,readImageSync,colorExistsInImage,colorExistsInImageSync,findUnusedColorInImage,findUnusedColorInImageSync, andisEOFare now part of the public API - WASM Support — Added support for
wasm32-wasip1-threads
Full Changelog: v0.0.5...v0.1.0
v0.0.5
Changelog
- added command line interface
npx @neplex/vectorizer input.png output.svgFull Changelog: v0.0.4...v0.0.5
v0.0.4
0.0.4
0.0.3
Updates
- Added new API for loading raw data
- Installed panic hook to prevent crash on invalid config
- Built-in support for loading common image formats
v0.0.2
0.0.2
v0.0.1
0.0.1
v0.0.0
0.0.0