Does anyone know how to remove the alpha channel programmatically?
something like: layer.remove_alpha()
Thanks.
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.
Darned naming! I though that function was to merge layers. :|
Thanks, it worked like a charm!
Recent comments