[Libreoffice-bugs] [Bug 132658] ENHANCEMENT: Image without resolution set should get a default fallback resolution (not based on a screen resolution)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 11 17:01:30 UTC 2020


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

--- Comment #20 from Telesto <telesto at surfxs.nl> ---
(In reply to Regina Henschel from comment #19)
> (In reply to Telesto from comment #18)
> > @Regina
> > I would you mind to explain - again - the whole dimension/DPI handling for
> > images without resolution set. The PNG in the document has no 'internal'
> > dpi... See (for example) IrfanView. MacOS shows it at 72dpi.. 
> 
> And for me the image is shown at 120dpi, because that is my display setting.
> If I change my Windows 10 to use 96dpi, then the image is shown at 96dpi.
> 
> LibreOffice uses what ever dpi is set in the OS, in case the image has no
> dpi info. But the user cannot see, that the image has no own dpi
> information. So it might be useful to change the text in the crop tab of the
> Image properties dialog. For example instead of (120dpi) write (unknown dpi,
> using 120dpi OS default).
> 
> In file format only the current size and the crop-values are stored.

The issue is, corp is depending on size. The image has no 'size' without DPI.
So crop is broken when switching between resolutions. So only a message won't
solve the problem. And the original size would still be 'random' depending on
screen DPI. 

Will talking about DPI:
Save image
1. Right click an image -> Save -> Choose file name & PNG & Press save
2. PNG options dialog popups up.. also having an resolution setting
3. Save the file -> open it with Irfan view -> DPI Resolution isn't written

Compress image
1. Right click an image & choose compress
2. Pick a resolution: 300 DPI and an image size
3. Press compress
4. Save the file
5. Rename the ODT to zip & and extract the image
6. A DPI resolution is written.. but not my pick. 72 x 71 (really 71) DPI

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


More information about the Libreoffice-bugs mailing list