When using scaling=center, an image with an odd width or height is currently shifted by 0.5 pixel relative to display pixels, resulting in a loss of detail when rendered. This is particular noticeable with an image containing text, which becomes noticeably blurry.
It's true that the current code is "accurate" in that it exactly centers the image on the display, but I think most users would probably prefer to live with the image being off-center by 0.5 pixel in return for pixel-perfect rendering.
When using
scaling=center
, an image with an odd width or height is currently shifted by 0.5 pixel relative to display pixels, resulting in a loss of detail when rendered. This is particular noticeable with an image containing text, which becomes noticeably blurry.It's true that the current code is "accurate" in that it exactly centers the image on the display, but I think most users would probably prefer to live with the image being off-center by 0.5 pixel in return for pixel-perfect rendering.