[Libreoffice-bugs] [Bug 132959] Save Image to PNG has no DPI written into the file

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 22 11:43:59 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=132959

--- Comment #7 from WN <wilhelm.nuesser at fhdw.de> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201222/ebedd0f4/attachment.htm>


More information about the Libreoffice-bugs mailing list