browser icon indicating copy to clipboard operation
browser copied to clipboard

Integer scaling (pixel-perfect scaling) for scaling images with no blur at integer scales like 2.0 (200%)

Open Marat-Tanalin opened this issue 1 year ago • 3 comments

Images, backgrounds, and videos are unreasonably blurry in browsers even at integer scales such as 2.0 (200%) which is typical e.g. for 24-inch 4K monitors. Integer (pixel-perfect) scaling turns each logical pixel into a square group of integer number of physical pixels of the same color not affected by colors of adjacent pixels.

interpolation-bilinear

Would be nice to have integer scaling as a browser-wide feature. SmartUpscale extension (addon) is an attempt to force blur-free pixel-perfect scaling at integer scales while still using interpolation at fractional scales, but it can only do this for embedded images, and not for backgrounds, and performance is lower than could be with native implementation built into browser.

Are such features in the goals/scope of the project? Thanks.

Marat-Tanalin avatar May 04 '23 20:05 Marat-Tanalin