Fixed painting on transparent layers
Boudewijn Rempt
boud at valdyas.org
Mon Jan 26 19:36:56 CET 2004
On Sunday 25 January 2004 18:19, Leonard Rosenthol wrote:
>
> IM/GM do support CMYK data for images, but not all operations
> are supported in CMYK mode - for example, I think compositing is one
> of them :(. I believe the IM/GM will convert to RGB before
> performing a composite...(but you should probably check the code).
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 :-)
--
Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi
More information about the kimageshop
mailing list