Alpha Convert Node
![Alpha Convert Node.](../../../_images/compositing_node-types_CompositorNodePremulKey.webp)
The Alpha Convert Node converts the alpha channel interpretation of an image.
For compositing and rendering, Premultiplied Alpha is the standard in Blender. Render layers will be premultiplied alpha, and images loaded into rendering or compositing will be converted to this.
If you want to do a compositing operation with straight alpha, the Alpha Convert node can be used. Typically this would be a color correction operation where it might give better results working on RGB channels without alpha. If the alpha is converted to straight in the Compositor, it should be converted back to premultiplied before the Composite Output node, otherwise some artifacts might occur.
Inputs
- Slika
Standard color input.
Properties
- Mapping
The direction of convert alpha. For details on the difference between both ways to store alpha values see Alpha Channel.
- To Premultiplied
Converts from Straight Alpha to Premultiplied Alpha.
- To Straight
Converts from Premultiplied Alpha to Straight Alpha.
Outputs
- Slika
Standard color output.