[Libreoffice-bugs] [Bug 107703] EDITING: No proper image scaling when inserting an image

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat May 13 11:57:49 UTC 2017


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

--- Comment #12 from Regina Henschel <rb.henschel at t-online.de> ---
LibreOffice must never change any information, that is contained in the
png-image. "dpi" or to be more correct the "physical pixel dimension" chunk
belongs to the png-image. If the image does not fit into a page in Writer
depending on that information, the view of the image is scaled down (see crop
tab in properties dialog), but the image is not changed.

If the pixel size information is missing or has no unit, then we can discuss,
which ersatz LibreOffice should use. I agree with Tomaz, that it should not
depend on system DPI. Perhaps 96 dpi is good, that is used for SVG-graphics in
case the unit is "px".


(In reply to Yousuf Philips (jay) from comment #9)
Should images be
> imported into a document with a dpi below 96 and be stretch the width of the
> page, rather than keeping it at 96 dpi and having it take up less width on
> the page?

Always use the original dpi to calculate the size. Only scale the view, if
otherwise it cannot be inserted. Do not scale up. Likely the user wants to put
text besides the image.

-- 
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/20170513/30f96cef/attachment.html>


More information about the Libreoffice-bugs mailing list