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

2012-10-07 Thread Jehan Pagès
Hi,

On Sun, Oct 7, 2012 at 7:47 AM, Ofnuts ofn...@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
___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


[Gimp-developer] About GimpImageType, image and layers

2012-10-06 Thread Jehan Pagès
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.

Jehan
___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list


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

2012-10-06 Thread Ofnuts

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.
___
gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list