gimp-layer-flatten

Michael Natterer <mitch@gimp.org>

Description

Remove the alpha channel from the layer if it has one.

Help

This procedure removes the alpha channel from a layer, blending all (partially) transparent pixels in the layer against the background color. This transforms layers of type RGBA to RGB, GRAYA to GRAY, and INDEXEDA to INDEXED.


Type

unknown

Parameters

Type Name Description
PF_LAYER layer The layer

Return

None