You are here

Remove Alpha Channel

Does anyone know how to remove the alpha channel programmatically?
something like: layer.remove_alpha()

Thanks.

Took me a while to find it...

The procedure is called gimp-layer-flatten (something like pdb.gimp_layer_flatten in python). "Remove the alpha channel from the layer if it has one." The opposite function is named gimp-layer-add-alpha, so I'm not sure why they didn't name this one gimp-layer-remove-alpha.

Flatten layer

Darned naming! I though that function was to merge layers. :|

Thanks, it worked like a charm!

Subscribe to Comments for "Remove Alpha Channel"