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

Carl Schwan <c...@carlschwan.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/gwenview/-/commit/3d52 |hics/gwenview/-/commit/c6d3
                   |a2694314629491e0b3720608f34 |070a0c705ab71fc1c3a85d37d90
                   |9978ea8de                   |5f190f1c8

--- Comment #18 from Carl Schwan <c...@carlschwan.eu> ---
Git commit c6d3070a0c705ab71fc1c3a85d37d905f190f1c8 by Carl Schwan, on behalf
of Tabby Kitten.
Committed on 16/11/2024 at 22:14.
Pushed by carlschwan into branch 'release/24.12'.

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.

(cherry picked from commit 3d52a2694314629491e0b3720608f349978ea8de)

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

https://invent.kde.org/graphics/gwenview/-/commit/c6d3070a0c705ab71fc1c3a85d37d905f190f1c8

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

Reply via email to