Opacity and transparency

Boudewijn Rempt boud at valdyas.org
Thu Jan 29 11:01:09 CET 2004


Um... Was there an actual reason behind Krita's defining opacity and 
transparency to be the opposite of ImageMagick/GraphicsMagick?

kis_global.h:

const QUANTUM QUANTUM_MAX = UCHAR_MAX;
const QUANTUM OPACITY_TRANSPARENT = 0;
const QUANTUM OPACITY_OPAQUE = QUANTUM_MAX;

vs.

image.h

#define OpaqueOpacity  0UL
#define TransparentOpacity  MaxRGB

-- 
Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi


More information about the kimageshop mailing list