glur
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/glur package

1.1.2 • Public • Published

glur

Build Status NPM version

Fast Gaussian Blur in pure JavaScript, via IIR filer. Speed does not depend on blur radius.

demo 1, demo 2.

Install

npm install glur --save

API

require('glur')(src, width, height, radius)

  • src - typed array with image RGBA data (will be updated with blured image).
  • width - image width.
  • height - image height.
  • radius - blur radius.

require('glur/mono16')(src, width, height, radius) - the same as above, but input data is grayscale Uint16Array. Can be useful to calculate unsharp mask via brightness/ligthness channel.

Authors

References

Licence

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    479,765
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.2
    479,765
  • 1.1.1
    0
  • 1.1.0
    1
  • 1.0.1
    2
  • 1.0.0
    1

Package Sidebar

Install

npm i glur

Weekly Downloads

462,332

Version

1.1.2

License

MIT

Last publish

Collaborators

  • vitaly