[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: Opacity and transparency
From:       Patrick Julien <freak () codepimps ! org>
Date:       2004-01-29 13:48:01
Message-ID: 200401290848.02187.freak () codepimps ! org
[Download RAW message or body]

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

_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic