Fixed painting on transparent layers

Leonard Rosenthol leonardr at
Tue Jan 27 17:24:38 CET 2004

At 01:36 PM 1/26/2004, Boudewijn Rempt wrote:
>Ah! I see how it's done:
>         case CopyRedCompositeOp:
>         case CopyCyanCompositeOp:
>         {
> ;
>           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.


More information about the kimageshop mailing list