JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q56412F
  • License MIT

Converts bitmaps to beautifully pixelated SVGs

Package Exports

  • sharpvg

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sharpvg) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

SharpVG

Sharp Vector Graphics

A library and command line utility to convert bitmaps to SVGs.

Why?

  • SVG is currently the only reliable way to scale up pixelated graphics with preserving sharpness of the pixels that works across browsers.
  • Converting to SVG might be useful in other scenarios, for example when we want to manipulate the image in real time.

Features!

  • converts bitmaps to SVGs
  • currently supports only one-colour GIFs as input (originally created for my own use)
  • fancy edge-tracing algorithm to maximally optimise output size

Planned features:

  • colour support (both indexed and 24-bit)
  • PNG input
  • animated gif support

LICENSE: Source code: MIT, see COPYING, icons (gif files in spec directory): only for testing purposes.