News for hackers. Stuff that matters.
Re:Hacking Image Interpolation for Fun and Profit by lecarore on Monday August 19, 2019 @12:42PM (#20739312)
It seems obvious in insight but I never used this before. An interesting front end trick, though adding gradient backgrounds is something I avoid as it's mostly eye candy
Re:Hacking Image Interpolation for Fun and Profit by globuous on Monday August 19, 2019 @01:06PM (#20739539)
It does, thought i’d never imagined the browser did any interpolation at all !

Neat trick, thanks for the share ;)

Re:Hacking Image Interpolation for Fun and Profit by sp332 on Monday August 19, 2019 @01:14PM (#20739611)
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
Re:Hacking Image Interpolation for Fun and Profit by globuous on Wednesday August 28, 2019 @01:19PM (#20821857)
wow, I just learned so much from such a simple concept !! Thanks for the links ;)