Pixel-to-Inch resolution setting Paint.net?

For some reason, I'm still having trouble wrapping my head around what "resolution" even means.
I get that when images state they are 740 or 1080 that it's a reference to the number of vertical pixels in the file,
and when RMMV says it's 816x624 that's a reference to the standard window size,
and that my monitor setting is a different concept, more a reference to how big each pixel is going to be displayed,
but when Paint.net offers to let me choose how many pixels-per-inch I want a New Image to be... what?

Is that more like the "resolution" of my monitor, where it's not so much about the content of the image file, but rather the way my monitor displays the image? Wouldn't that change the instant I zoom in or out? Is this even something I should concern myself with, or should I just ignore it and leave the default alone?
I believe this would be more along the lines of your resolution, yes. PPI refers to the density of pixels, i.e. how many pixels per inch of a digital image. However, I’m not really sure how this gets reconciled against your monitor resolution (or screen size for RM). Also I assume it applies to a 100% zoom level. I would probably leave it alone but maybe someone has a better idea of what this should be set to in regards to RM resources.
Resolution (in images) is measured in pixels, and tells you how many pixels an image has. For example, an image with a resolution of 1920 * 1080 pixels has 1920 pixels per row, and 1080 pixels per column, for a total of 2 073 600 pixels.

Pixels do not have a physical size. They're simply points in (virtual) space with a position and a color. If you had to give them a size, they'd be infinitely small.

However, reality does have sizes, so when you need to display pixels in reality (e.g. using a screen), you need differently colored lamps that shine according to the pixel's information. You obviously can't build an infinite amount of lamps, nor can you make them infinitely small.

The same applies to when you're trying to convert a real image into pixels (e.g. using a camera). You need a bunch of sensors that can sense light intensity and color, but you obviously can't build an infinite amount of those, nor can you make them infinitely small.

Thus, each "real" pixel has a size. For cameras, the size doesn't really matter. Bigger pixels simply make your camera bigger (and heavier), but don't really affect the images you take. For screens, the size does matter a lot, however. And not just screens. Pixel size is also very important when printing; the bigger the ink dots you make, the less information you can squeeze on a sheet of paper of certain size. This results in images that aren't as sharp as if your printer could produce smaller ink dots.

That's were the term "pixel density" comes in. It's measured either in PPI (pixels per inch) or DPI (dots per inch), though they both mean pretty much the same thing.

In computer graphics, pixel density is relevant if you want to display a certain object at a certain size, for instance a button. Making a button 48 * 48 pixels large doesn't really mean much. On a 300 DPI smartphone screen, your button would be 4 millimeters (0.16 inches) wide and high, which nobody could properly tap with their fingers. On a 96 DPI screen, however, the button would be 12.7 millimeters (0.5 inches) wide and high, which is much more easy to tap with your finger.

As far as Paint.NET is concerned, setting a pixels/inch resolution makes almost no difference. The only difference is when you look at the image dimensions in the lower right corner of the Paint.NET window, and only if you changed your view from the default "Pixels" to "Inches" or "Centimeters".

Why does it matter? Because you might want to zoom in, in order to make very precise changes. When you look at the lower right corner of the Paint.NET window, you can also see where your mouse cursor is above the image. When you're zoomed in, it might be useful to know that your mouse is 5 inches away from the left side of the image, especially if you intend your image to be used at a very specific DPI.

Another use case is if you intend your image to be printed at a specific DPI (say 300) and a specific size of paper (say A4). In this case, Paint.NET will automatically compute how many pixels your image would need to perfectly fit an A4 sheet at a 300 DPI printing resolution: 6300 * 8910 pixels.
If you suddenly chose to print that image at a higher resolution (say 600 DPI), then your image would only fit one quarter of an A4 paper instead.

Other than that, the pixels/inch resolution makes absolutely no difference. If you create a 1920 * 1080 pixel image, it will be 1920 * 1080 pixels, regardless if you chose a 300 pixels/inch resolution, or you left it at the default 96 pixels/inch. And you can still choose to print the image at 96 DPI or 300 DPI or even 600 DPI.
@Nolonar
I just came here to say that your explanation was extremely well-said.
:MV1:
The explanation above is very detailed and correct, but for some people a shorter one and explaining where the confusion originally came from might also help.

What a lot of people (wrongly) call resolution is in truth a screen size in pixels (1920x1080 etc.).
A true resolution is always pixel per distance.

Resolution = screen size (pixel) divided by monitor/paper size (in cm or inches).

However due to technical limitation the monitor size was fixed for decades, almost everyone had a 14" CRT display (long before TFTs were developed, and larger sizes were extremely expensive).
And with the monitor size fixed, changing the resolution was the same as changing the screen size.
All very good to know, thank you both!

Original thread: https://forums.rpgmakerweb.com/threads/pixel-to-inch-resolution-setting-paint-net.136688/