gimp-layer-add-alpha

Spencer Kimball & Peter Mattis

Description

Add an alpha channel to the layer if it doesn't already have one.

Help

This procedure adds an additional component to the specified layer if it does not already possess an alpha channel. An alpha channel makes it possible to clear and erase to transparency, instead of the background color. This transforms layers of type RGB to RGBA, GRAY to GRAYA, and INDEXED to INDEXEDA.


Type

unknown

Parameters

Type Name Description
PF_LAYER layer The layer

Return

None