MZ How sprite scaling works in the RPG Maker MZ?

In the project settings I set the screen width to 1920 and the screen height to 1080. At the same time, I’m displaying a picture that is 5760×3240 at 30% scale.

What happens if a player runs the game on a 2K or 4K monitor: will the picture be scaled from the original bitmap (5760×3240), or will it be scaled from the 1920×1080 bitmap?

I need to understand whether it makes sense to use large images. If not, then they’re just wasting space, and it would be better to resize them in Photoshop to match the 1920×1080 screen.

I asked ChatGPT about this. It says that first the scene is rendered at 1920×1080, and then it’s scaled to the player’s screen. Therefore, there’s no point in using oversized images — they consume not only disk space but also video memory.

But I don’t fully trust AI, so I’d like to confirm with a human.
it will be scaled from the 1920x1080 screen, because there is no way for windows to detect how the viewport/screen is created - and it is Windows which scales to fullscreen.

theoretically it is possible to have javascript branches that display different pictures based on browser viewport detection, but that would require a lot of configurations and code to handle.
@Andar, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/how-sprite-scaling-works-in-the-rpg-maker-mz.180091/