Re: [csswg-drafts] [css-images-3] image-rendering:pixelated should not force "nearest neighbor" (or similar) when the scale factor is far from an integer (e.g. 150%) (#5837)

Here is an idea for doing all of this in one pass.

https://demos.skia.org/demo/up_scaling/

The top row shows the suggested one-pass technique: custom shader performing 4 samples per pixel
The bottom row uses two passes: upscale by int amount, and then bilerp the rest of the way


-- 
GitHub Notification of comment by mikerreed
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5837#issuecomment-827967398 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 27 April 2021 22:06:21 UTC