Expand description
Blending algorithms and associated utility functions and enums.
Modules§
- algorithms
- Low-level implementation of the blending algorithms.
- params
- Blend algorithms and PConvert API optional parameter types (
BlendAlgorithmParams
andOptions
, respectively). Low level layer for the composition system.
Enums§
- Blend
Algorithm - Enumeration of supported blending modes.
Functions§
- blend_
images - Blends two images buffers with the given blending function and optional parameters.
- demultiply_
image - Demultiplies an image buffer, by applying the demultiply operation over the complete set of pixels in the provided image buffer.
- get_
blending_ algorithm - Matches a
BlendAlgorithm
enum variant with a blend function. - is_
algorithm_ multiplied - Returns whether or not a
BlendAlgorithm
enum variant corresponds to a multiplied blending algorithm. - multiply_
image - Multiplies an image buffer, running the opposite operation over the complete set of pixels in the image buffer.