Pixel Perfect & Game Window Resolution Problem

Hello everyone. I have here a blank project with a simple map, I am only using the VisustellaMZ core plugin to disable the image smoothing.

There are a few issues to achieving a 1:1 pixel perfect look.
  1. There is stretched pixels, most visible on the character sprite. I have included the sprite file below for reference in case this is in part the source of the issue, however if you look elsewhere in the image there are other parts where the pixels are stretched, such as on the bathtub and on the chair by the desk.
  2. Despite being set at the default 816x624 resolution, the game window is appearing with an 816x626 resolution, which I hypothesize may be a source of the stretched pixels. Is there a way to fix this behavior?
Has anyone found a way to fix these issues and achieve a true pixel perfect look in their own projects? Any insight on the subject would be appreciated. I apologize if this is a well-covered issue, my searching did not produce much for previous results.

Thank you,
- MAZEMAKER

Screenshot 2022-09-18 130037.jpg
it's not a bug or anything like that if you change the resolution then you have to edit every tileset for that resolution tilesets will not automatically change when you change the resolution
it's not a bug or anything like that if you change the resolution then you have to edit every tileset for that resolution tilesets will not automatically change when you change the resolution
What do you mean by this? I have not changed the resolution or the tile resolution. The issue is the rendering seems to be stretching the pixels.
unfortunately "resolution" has become a loaded term in computer knowledge, mixing the technical definition of a resolution (pixel per distance) with the screen size (which is often called resolution despite technically not being one).

Add to that the requirements of the RM-engine and the different requirements of the windows display drivers and you have a rather complex theme.

And I don't have time to analyse which of a half dozen known problems interferes here, so let's just say that it is almost impossible to get pixel-perfect in fullscreen, you'll have to stay in windowed mode for that.
I have discovered one additional part of this issue, that typically my 1080p display is scaled to 125% of its original resolution in the Windows display settings. This seems not to play nicely with RPG Maker MZ. When I switch to 100% display resolution, this stretching does not occur. However I have to assume this has something to do with how MZ is setting up its rendering and responding to the display changes rather than an innate display issue, as I have not noticed stretched / mis-rendered pixels in other games or on my display in general. So perhaps there is some way this can be addressed? I would simply remove display scaling but I know this is a common Windows feature used by many so I would like to fix it so my players do not encounter this issue.

EDIT: Added details.

unfortunately "resolution" has become a loaded term in computer knowledge, mixing the technical definition of a resolution (pixel per distance) with the screen size (which is often called resolution despite technically not being one).

Add to that the requirements of the RM-engine and the different requirements of the windows display drivers and you have a rather complex theme.

And I don't have time to analyse which of a half dozen known problems interferes here, so let's just say that it is almost impossible to get pixel-perfect in fullscreen, you'll have to stay in windowed mode for that.
Thank you for your input. This is windowed mode, not fullscreen. The issue, I believe, must relate to some rendering context (perhaps the html canvas itself) becoming stretched rather than this being a Windows display level issue.

Though it is a separate question, it is easy enough to solve pixel-perfect rendering in a fullscreen mode by manually stretching the canvas to the nearest integer multiplier and allowing the rest of the screen to letterbox.

Original thread: https://forums.rpgmakerweb.com/threads/pixel-perfect-game-window-resolution-problem.151373/