Dpi tool - Set image DPI directly in Blender
A problem that has existed for at least 16 years has been solved, and now you can directly set the Dpi of the output image without having to convert it to software like Photoshop every time. blenderartists.org/t/render-at-300-dpi/430563