HTML custom element to correctly dither an image giving pixel-perfect crisp results on all displays
Finally squashed the long-standing bug that would produce corrupted images at certain zoom percentages.
This is version2 with many improvements, see the README for all features
better resize behavior preventing needless redraws dithering is performed in a web worker Lazy drawing for elements that lie completely offscreen, they will be drawn as they approach the viewport as the user scrolls new cutoff attribute to control the dithering better support for non-integer devicePixelRatios fixed image loading lots of small bug fixes
Full Changelog: https://github.com/andrewstephens75/as-dithered-image/commits/release2