Module zune_imageprocs::blend

source ·
Expand description

Blend filter

This can be used to combine two or more images based on an alpha value which is used to determine the opacity of pixels during blending

The formula for blending is

dest =(src_alpha) * src  + (1-src_alpha) * dest

src_alpha is expected to be between 0.0 and 1.0

Structs§

  • Create a blend image filter which can blend two images based on a configurable alpha

Functions§