[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
Sun Aug 30 17:01:52 UTC 2020


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

--- Comment #23 from Telesto <telesto at surfxs.nl> ---
(In reply to Buovjaga from comment #22)
> Is there a reason to still keep this open? Has this branched into actionable
> reports?

This is still valid in my opinion. The problem is that there are images without
embedded in file resolution (even written by LibreOffice itself). So
LibreOffice uses a fallback resolution to calculate the image dimensions; as
they are lacking in file. The fall back size is based on screen resolution
(DPI) on file open..

As LibreOffice doesn't touch embedded image files (without resolution) even
this resolution isn't written inside the image. Still blank. So document on a
system with HiDPI will calculate different measures (based on screen DPI) as a
file DPI is still lacking. Breaking for example crop.

There are options. So import at a fixed resolution (maybe with export
configurable setting) if the file lacks embedded meta data about DPI.

Or keep the current system using display resolution, but written inside the
file on save. However this is problematic, because of external linking of
images etc. 

So still propose a fixed resolution only in the case where they resolution meta
data being empty. Where fixed means pre-defined default. I considered expert
setting to change this, but probably again a bad idea. As the problem can be
re-introduced if people change the default.   

And if it where up to me somewhere around 200-300 dpi. 96dpi is bit low for
printing etc. 

The only problem here is backward comp-ability. The document is fine as long as
you use the same screen resolution. So setting say 300 as default will break
crops for images without resolution created prior to change if a resolution is
lacking..

So not sure how to get out of that dilemma. There will be a problem anyhow at
the time everybody moves to HiDPI screens.. 

Or someone must have some nifty fix for that too. Basing image resolution in
document size of the image?

And seems to me that this being actionable as such. Problem is more how

-- 
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/20200830/4ec3eb59/attachment.htm>


More information about the Libreoffice-bugs mailing list