[Libreoffice-bugs] [Bug 121082] New: Use better scaling quality for PNG icons

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Oct 31 13:16:28 UTC 2018


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

            Bug ID: 121082
           Summary: Use better scaling quality for PNG icons
           Product: LibreOffice
           Version: 5.3 all versions
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: glogow at fbihome.de

Currently we scale using the fast algorithm:

vcl/source/image/ImplImageTree.cxx:187:        
rParameters.mrBitmap.Scale(aScaleFactor, aScaleFactor, BmpScaleFlag::Fast);

After fixing bug 119020 people thought about improving the quality of the
scaled icons.

The fix itself is rather easy: change ::Fast to ::Default or ::BestQuality.
For OpenGL it will even be done via shaders in HW.

Now I know this is almost a bikeshedding bugreport, but still, the icons are
cached, so it would just slow down the first start.

Maybe TDF will  have a tender for my proposal: "[...] implement scaling as a
completely asynchronous background job, which can dynamically update any images
(which would also be cool to have for document open times with many images of
any kind, which need scaling for zoom level, also PDF or SVG)."

OTOH we also want to deliver the SVG icon sets, currently independent from the
PNG versions.

-- 
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/20181031/3c7a7a5e/attachment.html>


More information about the Libreoffice-bugs mailing list