Given an <img>
element, is it possible to pixelate the image using only CSS and/or not use canvas?
I've seen things like the crisp edges feature (but that's just for images that are scaled) and a lot of canvas options, but I'm hoping for a better way.
You can achieve a pixelated affect by using the image-rendering: pixelated;
CSS rule and scaling up an image - see this article.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With