gimp_drawable_has_alpha - Returns non-zero if the drawable has an alpha channel.
SYNOPSIS
has_alpha = gimp_drawable_has_alpha (drawable)
DESCRIPTION
This procedure returns whether the specified drawable has an alpha channel. This can only be true for layers, and the associated type will be one of: { RGBA , GRAYA, INDEXEDA }.
INPUT ARGUMENTS
TYPE
NAME
DESCRIPTION
DRAWABLE
drawable
The drawable
RETURN VALUES
TYPE
NAME
DESCRIPTION
INT32
has_alpha
Does the drawable have an alpha channel?
SOME SYNTAX ALTERNATIVES
has_alpha = $drawable->has_alpha
AUTHOR
Spencer Kimball & Peter Mattis (c)1995-1996 Spencer Kimball & Peter Mattis