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

nyanpasu64 <nyanpas...@tuta.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/gwenview/-/commit/3d52
                   |                            |a2694314629491e0b3720608f34
                   |                            |9978ea8de
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #17 from nyanpasu64 <nyanpas...@tuta.io> ---
Git commit 3d52a2694314629491e0b3720608f349978ea8de by Tabby Kitten.
Committed on 13/11/2024 at 04:31.
Pushed by felixernst into branch 'master'.

Fix garbled colors when scaling indexed-color images

Fixes bug where indexed-color or monochrome-palette images (eg. from
pngquant) would render with garbled colors or B&W noise when zoomed.

I converted images from indexed colors to (A)RGB32, to avoid error
"Gwenview cannot apply color profile on QImage::... images" (depending
on zoom level).

I verified that wide-gamut images (Webkit-logo-P3.png) are still clipped
to SDR gamut. I tested that wide-gamut indexed images are now properly
clipped, but these images are probably ahistorical.

Bug introduced by commit 33d6203c7b4de83a8a1ea92dfc7036af87eb43f2.

M  +9    -3    lib/documentview/rasterimageitem.cpp

https://invent.kde.org/graphics/gwenview/-/commit/3d52a2694314629491e0b3720608f349978ea8de

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

Reply via email to