gimp-drawable-has-alpha

Spencer Kimball & Peter Mattis

Description

Returns TRUE if the drawable has an alpha channel.

Help

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 }.


Type

unknown

Parameters

Type Name Description
PF_DRAWABLE drawable The drawable

Return

Type Name Description
PF_INT has-alpha Does the drawable have an alpha channel? (TRUE or FALSE)