<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Save Image to PNG has no DPI written into the file"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132959#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Save Image to PNG has no DPI written into the file"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132959">bug 132959</a>
from <span class="vcard"><a class="email" href="mailto:wilhelm.nuesser@fhdw.de" title="WN <wilhelm.nuesser@fhdw.de>"> <span class="fn">WN</span></a>
</span></b>
<pre>I'd like to second Roberts remark.
Exporting the same odg-File with LO 6.1 gives the following png information
obtained by imagemagicks identify -verbose:
Format: PNG (Portable Network Graphics)
Mime type: image/png
Class: DirectClass
Geometry: 1183x925+0+0
Resolution: 118.3x118.3
Print size: 10x7.8191
Units: PixelsPerCentimeter
Type: TrueColorAlpha
...
Exporting the same file with LO 6.4 and 7.0 from LO website the header reads
now:
Image: TCP-Header.png
Format: PNG (Portable Network Graphics)
Mime type: image/png
Class: DirectClass
Geometry: 1183x925+0+0
Units: Undefined
Type: TrueColorAlpha
Obviously, the fields resolution, print size are missing and
the field units is left undefined.
Using the standard equation:
no_of_pixels = dpi * inches
the information in the new header format is not sufficient to deduce the size
and/or the resolution. gimp, inkscape, imagemagick et al thus have to assume a
resolution ... and choose the standard of 72.
IMHO this looks really like a regression in the 6* series to me...
BTW: platform for tests is Linux Mint 19.3</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>