[Libreoffice-ux-advise] [Bug 117754] Option required to show low resolution preview instead of full resolution for smooth navigation of documents with high resolution linked images

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 22 03:10:29 UTC 2019


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

--- Comment #6 from Tomaz Vajngerl <quikee at gmail.com> ---
Well, the idea I have is to implement mip-map algorithm directly into our
graphic handling. Which means, that we would create (on demand) many scaled
down versions of the same image and store them to the disk, then choose which
one we need depending on how scaled the image we want. 

For example: if the original image is 4000x3000 and in the document it needs to
be scaled to 400x300, we would choose a 4x scaled down version (1000x750) and
scale that down to 400x300. Choosing a smaller version of the image would
immediately result in a speed-up. The cool thing is also that if there is no
demand for the original 4000x3000 version (and it most likely there probably
wouldn't be if you look at the image at normal zoom levels) it could be removed
from the memory, which means LO would use less memory in general and handle a
lot of loaded images much much better.

Previously, something like this was not possible but thanks to image handling
rework this should n't be hard to do.

Now, to this request. When we have the basic algorithm implemented, it
shouldn't be hard to change it such way that we don't choose a full-res image,
if that one is over a certain threshold and make that configurable so the users
can choose whatever quality/speed ratio they prefer (from 3-4 options).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list