gimp_drawable_type << INDEX >> gimp_drawable_update

gimp_drawable_type_with_alpha (1995-1996)

NAME
gimp_drawable_type_with_alpha - Returns the drawable's type with alpha.
SYNOPSIS
type_with_alpha = gimp_drawable_type_with_alpha (drawable)
DESCRIPTION
This procedure returns the drawable's type if an alpha channel were added. 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.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
DRAWABLEdrawableThe drawable
RETURN VALUES
TYPENAMEDESCRIPTION
INT32type_with_alphaThe drawable's type with alpha: { RGBA_IMAGE (1), GRAYA_IMAGE (3), INDEXEDA_IMAGE (5) }
SOME SYNTAX ALTERNATIVES
type_with_alpha = $drawable->type_with_alpha
AUTHOR
Spencer Kimball & Peter Mattis
(c)1995-1996 Spencer Kimball & Peter Mattis


This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>