https://bugs.kde.org/show_bug.cgi?id=469294

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/a3d0491deebb460db5a033c4a
                   |                            |9679e6a5452372e
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.27.6

--- Comment #3 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit a3d0491deebb460db5a033c4a9679e6a5452372e by Fushan Wen.
Committed on 26/05/2023 at 15:53.
Pushed by fusionfuture into branch 'master'.

wallpapers/image: resize svg wallpaper to requested size

QImage is rasterized, which means it needs a defined size. If we need to
resize a svg image, the svg image should be loaded by QSvgRenderer and then
QPainter class is used to draw the image onto a new QImage with the desired
size.

Plasma::Svg can help wrap the whole process and provide a cached image
if the wallpaper is loaded again.
FIXED-IN: 5.27.6

M  +12   -4    wallpapers/image/plugin/provider/packageimageprovider.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/a3d0491deebb460db5a033c4a9679e6a5452372e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to