[Libreoffice-bugs] [Bug 134497] PNG not exported with the same dimensions

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 28 18:40:51 UTC 2021


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

Buovjaga <ilmari.lauhakangas at libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|PNG not exported with the   |PNG not exported with the
                   |same dimensions when        |same dimensions
                   |original DPI is             |
                   |non-standard                |

--- Comment #9 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
(In reply to Robo Pluhar from comment #8)
> Created attachment 173933 [details]
> 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

Hmm, you are right. 2,834×2,834 px/mm is the same approximation as 72x72 ppi.

-- 
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/c68c12a0/attachment.htm>


More information about the Libreoffice-bugs mailing list