MV Map Resolution Issue

Hi, so I don't really know what can I do to make my maps look good.
Context: I draw my maps in dimention 816 x 624 -> tiles 48x48 with thin pixel lineart.
I have this issue that in full screen my maps look or blurry or (with <style type="text/css"> CANVAS{image-rendering: pixelated;}</style> ) uneven - lineart of symmetrical elements is jagged.
I completely don't know what to do - should I trash my (many hours of) drawing and draw new ones? If yes, then how should they look like?

Out of all my art used in the game, the only thing that looks nice is character sprite - initially made in 36 x 64, but in game I use this sprite in double size, so it consists of big squares without lineart

Other info:
  • Map Size: 816 x 624
  • Tile Size: 48 x 48
  • in Community Basic Plugin I had 1104 x 624 (also tried doubling Map Size to 1632 x 1248, but it didn't work)
  • my typical Map is w17 x h13
  • i tried working with code made in this thread, but it doeasn't look good on my maps 🙁
  • on the screenshot you can see how uneven the lineart is (it also looks a little blurry but that's bc it's a screenshot; also plz don't mind the debug parallax bg)

SCREEN.png
Okay, if someone faces the same issue i did that:
in YEP_Engine i changed the resolution to height & width - 2 x tile size
added to index.html:
<style type="text/css"> CANVAS{image-rendering: pixelated;}
canvas {
display: block;
margin: 0 auto;
position: absolute;
top: 0;
left: 0;
}
body {
margin: 0;
overflow: hidden;
}
</style>

maybe not perfect, but definitelly saved many hours of drawing :>
Why did you set the Canvas tag twice?
CSS:
canvas {
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    image-rendering: pixelated;
}
Why did you set the Canvas tag twice?
CSS:
canvas {
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    image-rendering: pixelated;
}
Oh, true, my bad! I copy-pasted the first line and later added the rest. Got so happy that something finally worked that closed the programme without clearing the code. Thanks for noticing!

================================

btw for these who want to keep their maps the same size as original, plugin TDDP_PixelPerfect might be useful!!
Just to add some background info:

What you partially missed or misunderstood in your original post is the screen size of your monitor.

"Resolution" is a term that is seriously messed up due to computer history, and to really understand what is going on you'll have to make sure you know the technical definitions.

"Resolution" is a value like 300dpi (dots per inch) in printing, or ppi (pixel per inch) on your monitor.
It doesn't exist anywhere else, and it is a physical constant for your monitor - the only way to change your Monitor's resolution is to change the monitor physically, because you cannot change the number of pixels/photo emitters inside that monitor.

816x624 is a screen size and defines how many pixels of your screen any program occupies in windowed mode.

And that is important because in fullscreen, you basically telling the computer "please projects this program with (816x624) to the full pixels of the Monitor Hardware (for example 1920x1080 depending on your monitor)
Now how often does 816 fit into 1920? It's 2.353 times.
Only problem - there are no partial pixels anywhere.

Breaking it down to easier numbers, this means that there will be multiple (many) places on the screen where 2 pixels of the original output need to be projected to 3 pixels of the full screen.

Now let's assume the original two pixels were black and white. That means in the new screen, the left pixel will be black, the right pixel will be white - but what about the middle pixel?
What color should it have to make the picture look "good"?

There are basically two different mathematical principles to guess the color it should have. And that is exactly what the computer does - guessing based on the formula given to him.

In one case the selection will be black or white, keeping the lines crisp - only that the divider between black and white is no longer in the middle, but at one third of the distance. That causes distortions in the picture.

In the other case the computer selects a color mix - black and white are mixing to grey, so the middle pixel becomes grey. In photorealistic pictures that usually is the best compromise.
Unfortunately in pixel art, that grey between black and white gets interpreted by the human eye as a "blur" despite not being a true blur but a color mix.

And any zoom can only use one or the other way, there is no "correct zoom" at all.
ONLY if the zoom is an exact multiple (200%, 300%, 400% and so on) the mathematic will result in a perfect scale - one black and one white becomng two black and two white (or three both etc)

The other method to keep the pictures correct is not zooming at all but filling the frame around a 1:1 projection with a black frame.
@Andar Sorry for making you confused! I know what was the source of ugly looking maps, but I guess I used a wrong word to describe it. But in the end nothing logical really worked. The only thing that worked was to reduce the display size for the height of the map + plugin I mentioned in my last reply.

Original thread: https://forums.rpgmakerweb.com/threads/map-resolution-issue.179572/