blurhash-as

Blurhash implementation in AssemblyScript

MIT License

Downloads
500
Stars
31
Committers
2

Bot releases are hidden (Show)

blurhash-as - Latest Release

Published by lxsmnsyc about 3 years ago

  • Changes the WASM runtime from stub to minimal
  • Add explicit GC calls
  • Fix blurhash/browser to use instantiateStreaming
blurhash-as -

Published by lxsmnsyc about 3 years ago

This release adds support for webp input and output formats for the rollup and esbuild plugins

blurhash-as -

Published by lxsmnsyc over 3 years ago

This release adds 4 new packages to this repo:

Bindings for Vue 3 and Vanilla, as well as plugins for Parcel and Webpack are under research, and probably released in the next unstable minor version.

blurhash-as -

Published by lxsmnsyc over 3 years ago

  • All encode and decode methods no longer return null, instead, throws an error:
    • For decode, toCSSSheet, toCSSObject and toSVG, invalid hash causes an error.
    • For encode, the component constraint and resolution-pixel mismatch causes an error.
  • Encode validation is now done in JS rather than in AssemblyScript. This is to throw an error as early as possible.