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

wolthera <griffinval...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |triaged
             Status|REPORTED                    |CONFIRMED
                 CC|                            |griffinval...@gmail.com
     Ever confirmed|0                           |1
           Assignee|krita-bugs-n...@kde.org     |b...@valdyas.org

--- Comment #1 from wolthera <griffinval...@gmail.com> ---
Yes, this is caused by the following code in Channel.cpp ln 163:

stream << (quint8) *srcIt.rawDataConst();

Basically it is taking the pixel data, which is a list of quint 8 and only
returning the first channel. So for 8 and 16 int that is the blue channel, and
for 16 and 32 float that is the red channel.

Similarly, setPixelData needs to be looked at as well, as it sets the whole
pixel to the pixeldata value.

boud, I am assigning this to you because I am still kinda bad with bytearrays
:D

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

Reply via email to