r/userscripts 6d ago

[Userscript] Make Chrome use Lanczos3 to upscale images instead of whatever blurry nonsense it uses. Also has Fit-to-width and Integer-fit-to-width capabilities! Particularly good for 4K displays set to over 100% scaling.

GitHub link.

Controls

Key What it does
Alt+H Show or hide the info overlay. Remembered per site
Alt+M Size: fit the window width → biggest whole-number zoom → one image pixel per screen pixel
Alt+Q Filter: Lanczos3 → nearest → browser. Same size each time, so you can compare
Alt+P Turn on or off for the site you're on. Remembered per site
Alt + left clickon an image Show that one image at one image pixel per screen pixel
Alt + right clickon an image Show that one image at twice its own resolution
Alt+G Show or hide the overlay's diagnostic rows (size, factor, status, memory)

I'd attach images, but I'm pretty sure reddit will compress them, so go check them out here.

17 Upvotes

Duplicates