Houdini 20.5 Nodes Copernicus nodes

Mono to RGBA Copernicus node

Explicitly convertes a Mono layer to an RGBA Layer.

On this page

This operation converts a Mono layer into an RGBA layer. The default channel extension rules replicate a Mono layer to Red, Green, Blue, and Alpha channels. For premultiplied layers, this corresponds a white image with varying alpha, which may not be what is expected.

This operations makes the conversion explicit, allowing one to extend either as GGGG or GGG1, the latter giving an opaque grayscale image.

It can also be used to specify an explicit alpha.

Note that this does not apply pre-multiplication.

Parameters

Missing Alpha

When an alpha layer is not provided, controls how the alpha channel is created.

Extend

The alpha channel is set to the input layer. This matches the implicit conversion rules.

Value

The alpha channel is given a specific value. This allows the creation of an opaque grayscale image rather than a white image of varying alpha.

Alpha Value

The value to apply to alpha if the alpha layer isn’t provided.

Inputs

mono

The Mono layer to convert to RGBA.

alpha

A Mono layer to use as the alpha in the resulting RGBA. The two are mixed without premultiplication, so it is possible Premultiply may be needed.

Outputs

rgba

An RGBA layer created from the Mono layer.

See also

Copernicus nodes