node-sdl icon indicating copy to clipboard operation
node-sdl copied to clipboard

Enhancement: Use GPU image smoothing (bilinear interpolation or some average filter) when using window.render function.

Open pedroth opened this issue 6 months ago • 0 comments

This is a nice to have feature, since the browser does something similar.

So, when I write the image buffer, using the function window.render and the size of the window is bigger than the buffer image, the default behavior is nearest neighbor interpolation:

image

I would expect something like the browser:

image

Both images have the same resolution, which is lower than the window size.

This feature is a total optional one, but it would be a cool one. Thank you for this amazing project.

pedroth avatar Jul 31 '24 12:07 pedroth