alphaBlendRGBA

Blends source into target with respect to the opacity of the source image (as stored in the alpha channel).

This variant is $(slower than) alphaBlendRGB, but calculates the correct alpha-channel value of the target. See BlendAccuracy for further explanation.

  1. void alphaBlendRGBA(Pixel[] target, Pixel[] source)
  2. void alphaBlendRGBA(Pixel pxTarget, Pixel pxSource)
    @safe pure nothrow @nogc @safe
    void
    alphaBlendRGBA

Meta