issues
search
andrewstephens75
/
as-dithered-image
HTML custom element to correctly dither an image giving pixel-perfect crisp results on all displays
MIT License
176
stars
2
forks
source link
Version2
#5
Closed
andrewstephens75
closed
1 year ago
andrewstephens75
commented
1 year ago
This is version2 with many improvements
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
This is version2 with many improvements