When mutool writes a PNG, e.g. through mutool draw -o page1.png file.pdf 1 the resolution (dpi) of the rendering is not saved to the PNG file. I request to change this behavior, not just in mutool but in the underlying library. It is important because generated images may be automatically included in documents, e.g. via LaTeX, and this way the display size of the image can be controlled programmatically.
This will be fixed with: https://git.ghostscript.com/?p=user/robin/mupdf.git;a=commitdiff;h=1505377c5883b4dbb60c4c9542b45bd85d55cf20
Fixed in commit f8ce62bc61d0be39b04f8757647833c50d0c6fd8 Author: Robin Watts <Robin.Watts@artifex.com> Date: Fri Sep 25 17:18:24 2020 +0100 Bug 702522: Add resolution to output PNG files.