Feature request #344
DPI is not stored in the output PNG
|Pull Request or Patch supplied:||Resolution:||fixed|
|Easy fix?:||No||Copied to github as #:||10403|
Although I specify 300 DPI in map composer, after exporting the map to PNG the declared DPI is not preserved. I have to set it manually eg. in GIMP.
#1 Updated by Gavin Macaulay - over 13 years ago
Qgis uses a Qt library to write png's, and that library doesn't support embedding a DPI value into the png file. I note that gimp can embed such a value, so there may well be a formal or informal way to do it, but it's unlikely that we'll get around to doing that soon. None of the many other image viewers or editors that I viewed such a png with picked up the dpi set by gimp.
I'll move this to an enhancement against 0.9