gimp-drawable-type-with-alpha

Spencer Kimball & Peter Mattis

Description

Returns the drawable's type with alpha.

Help

This procedure returns the drawable's type as if had an alpha channel. If the type is currently Gray, for instance, the returned type would be GrayA. If the drawable already has an alpha channel, the drawable's type is simply returned.


Type

unknown

Parameters

Type Name Description
PF_DRAWABLE drawable The drawable

Return

Type Name Description
PF_INT type-with-alpha The drawable's type with alpha { RGBA-IMAGE (1), GRAYA-IMAGE (3), INDEXEDA-IMAGE (5) }