Opacity and transparency
Patrick Julien
freak at codepimps.org
Thu Jan 29 14:48:01 CET 2004
On January 29, 2004 05:01 am, Boudewijn Rempt wrote:
> Um... Was there an actual reason behind Krita's defining opacity and
> transparency to be the opposite of ImageMagick/GraphicsMagick?
Yes, to make it easier for me to understand. What I felt we're more natural
values.
>
> 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
More information about the kimageshop
mailing list