[Libreoffice-bugs] [Bug 134497] PNG not exported with the same dimensions when original DPI is non-standard

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 28 18:21:10 UTC 2021


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

--- Comment #8 from Robo Pluhar <robo-pluhar at email.cz> ---
Created attachment 173933
  --> https://bugs.documentfoundation.org/attachment.cgi?id=173933&action=edit
Inage properties (PhotoFiltre, IrfanView)

(In reply to Buovjaga from comment #7)
> This image has a weird DPI. If I open it with GIMP and view Image -
> Properties, it shows DPI as 2,834×2,834 px/mm. GIMP does export it
> correctly, however, and even preserves the DPI.
> 
> With LibreOffice, to export an image in its original size, you need to
> right-click the image and select Original size first. If we do it in this
> case, the exported resolution is 990x400 and the DPI will change to 72x72
> ppi.

I opened the image in PhotoFiltre and IrfanView and both of them claim that the
DPI is 72x72, and ImageMagick says:

$ identify -verbose -units PixelsPerInch ExStudPr_17_predmet_planu_plain.png
Image: ExStudPr_17_predmet_planu_plain.png
  Format: PNG (Portable Network Graphics)
  Mime type: image/png
  Class: DirectClass
  Geometry: 742x300+0+0
  Resolution: 71.98x71.98
  Print size: 10.3084x4.16782
  Units: PixelsPerInch
....
Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org

-- 
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/20210728/2d7c85bb/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list