[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Fixed painting on transparent layers
From: Leonard Rosenthol <leonardr () lazerware ! com>
Date: 2004-01-27 16:24:38
Message-ID: 6.0.1.1.2.20040127112323.02772ec0 () mail1 ! netreach ! net
[Download RAW message or body]
At 01:36 PM 1/26/2004, Boudewijn Rempt wrote:
>Ah! I see how it's done:
>
>frex:
> case CopyRedCompositeOp:
> case CopyCyanCompositeOp:
> {
> destination.red=source.red;
> break;
>
>That's kind of hackish, isn't it :-)
That's actually 100% correct since IM/GM use a single data
structure (PixelPacket) to represent the image data, regardless of
image/color mode - which is part of the reason we don't support dynamically
sized components.
So for a CMYK image, c is stored in red, m in green, etc.
LDR
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic