package
0.14.0
Repository: https://github.com/anthonynsimon/bild.git
Documentation: pkg.go.dev

# Functions

Add combines the foreground and background images by adding their values and returns the resulting image.
Blend two images together by applying the provided function for each pixel.
ColorBurn combines the foreground and background images by dividing the inverted background by the foreground image and then inverting the result which is then returned.
ColorDodge combines the foreground and background images by dividing background by the inverted foreground image and returns the result.
Darken combines the foreground and background images by picking the darkest value per channel for each pixel.
Difference calculates the absolute difference between the foreground and background images and returns the resulting image.
Divide combines the foreground and background images by diving the values from the background by the foreground and returns the resulting image.
Exclusion combines the foreground and background images applying the Exclusion blend mode and returns the resulting image.
Lighten combines the foreground and background images by picking the brightest value per channel for each pixel.
LinearBurn combines the foreground and background images by adding them and then subtracting 255 (1.0 in normalized scale).
LinearLight combines the foreground and background images by a mix of a Linear Dodge and Linear Burn operation.
Multiply combines the foreground and background images by multiplying their normalized values and returns the resulting image.
Normal combines the foreground and background images by placing the foreground over the background using alpha compositing.
Opacity returns an image which blends the two input images by the percentage provided.
Overlay combines the foreground and background images by using Multiply when channel values < 0.5 or using Screen otherwise and returns the resulting image.
Screen combines the foreground and background images by inverting, multiplying and inverting the output.
SoftLight combines the foreground and background images by using Pegtop's Soft Light formula and returns the resulting image.
Subtract combines the foreground and background images by Subtracting the background from the foreground.