![[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.](https://external-preview.redd.it/aNGkwYk7H-zdX4-iOrxnN6X92UjPuiEH68gH5FpyAyo.png?width=1080&crop=smart&auto=webp&s=d81debc7a780ec3a1b14ef22f8e730d516b06005)
[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.
u/Ikkoru — 7 days ago