Skip to content

Comment on Hacking Image Interpolation for Fun and Profitparent

Comments

It does, thought i’d never imagined the browser did any interpolation at all !

Neat trick, thanks for the share ;)

They didn't used to, because it slowed down rendering. Then they started blurring stuff which worked well most of the time but not e.g. for retro artists who wanted the pixely look. So eventually they added some CSS properties to control it. https://builtvisible.com/image-scaling-in-css/ https://caniuse.com/#search=image%20rendering

wow, I just learned so much from such a simple concept !! Thanks for the links ;)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.