Disable anti-aliasing in Chrome / Webkit

Is there a way to disable image anti-aliasing in Chrome / Webkit? For performance reasons, I would like the browser to not have smooth images larger than the actual files.

Image interpolation mode in Chrome / Safari? mentions this problem a year and a half ago, so hopefully since then Webkit has added some kind of support.

Edit: for further research, using the closest neighbor with CSS zoom on the canvas (and img) seems to go further, but it’s not entirely clear what works.

+4
source share

All Articles