News for hackers. Stuff that matters.
Re:Scalable Bitmaps (2013) by Const-me on Sunday August 23, 2020 @08:29AM (#24251415)
To avoid that complexity I sometimes use a single image for all devices, with high resolution and relatively high level (=low bitrate, low quality) of jpeg compression.

Modern GUI frameworks and browsers use high-quality GPU-based scalers, downscaling an image on a low-DPI device is almost free and gets rid of JPEG artifacts. On high DPI screens pixel density gets rid of these JPEG artifacts as well, unless using a magnifier, glass or software.

There are no comments on this comment yet.