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