Skip to content

Releases: neplextech/vectorizer

v0.1.0

31 May 06:44

Choose a tag to compare

Changelog

New Features

  • Abort signal supportvectorize, vectorizeRaw, readImage, colorExistsInImage, and findUnusedColorInImage now accept an optional AbortSignal for cancellation
  • Callback-based streaming — Added vectorizeToCallback and vectorizeRawToCallback, which emit SVG chunks incrementally with a progress value (0–100). Use isEOF(chunk, progress) to detect stream completion
  • SVG optimization — Added optimize and optimizeSync powered by oxvg_optimiser, supporting SVGO-compatible plugin config, preset-default/safe/none presets, and multipass optimization
  • CLI optimizationnpx @neplex/vectorizer optimize command added for optimizing existing SVGs, with --optimize, --multipass, and --multipass-iterations flags available during vectorization as well
  • Exposed internal APIsreadImage, readImageSync, colorExistsInImage, colorExistsInImageSync, findUnusedColorInImage, findUnusedColorInImageSync, and isEOF are 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

06 Jan 14:18

Choose a tag to compare

Changelog

  • added command line interface
npx @neplex/vectorizer input.png output.svg

Full Changelog: v0.0.4...v0.0.5

v0.0.4

31 Dec 10:42

Choose a tag to compare

0.0.4

0.0.3

17 Dec 14:31

Choose a tag to compare

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

15 Dec 20:55

Choose a tag to compare

0.0.2

v0.0.1

15 Dec 20:44

Choose a tag to compare

0.0.1

v0.0.0

15 Dec 20:26

Choose a tag to compare

0.0.0