Re: [Gimp-developer] About GimpImageType, image and layers



Hi,

On Sun, Oct 7, 2012 at 7:47 AM, Ofnuts <ofnuts laposte net> wrote:
> On 10/06/2012 08:30 AM, Jehan Pagès wrote:
>>
>> Hi,
>>
>> I have a question about the GimpImageType of layers.
>> checking several plugins, I see that the GimpImageType
>>
>> (http://developer.gimp.org/api/2.0/libgimpbase/libgimpbase-gimpbaseenums.html#GimpImageType)
>> is queried for each layer. But as a simple user, this is set
>> Image-wide in Gimp, not for each layer. Are there actual cases where
>> the GimpImageType can be different on different layers of the same
>> image?
>> Thanks.
>>
>>
>
> You can mix layers with and without alpha.
>

Got it. Basically the type is the same for all layers, except that
they may or not have alpha channel (so if image is RGB, each layer
will be either RGB or RGBA for instance). Makes sense.
Thanks.

Jehan

______________________________________________
> gimp-developer-list mailing list
> gimp-developer-list gnome org
> https://mail.gnome.org/mailman/listinfo/gimp-developer-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]