Image module

premultiply_alpha

procedure · 1 overloadsince 0.28.0Source

Multiplies the colour channels by alpha (rounded), in place. A no-op for formats without alpha.

premultiply_alpha :: (image: *Image)

Multiplies the colour channels by alpha (rounded), in place. A no-op for formats without alpha.

Parameters

image: *Image

See also