Function: linear_blend --Usage-- > linear_blend( > image1: image, image2: image, > x1: coordinate, y1: coordinate, > x2: coordinate, y2: coordinate, > ) Blend two images together using a linear gradient. The images must have the same size. --Parameters-- ! Parameter Type Description | @image1@ [[type:image]] First image to blend | @image2@ [[type:image]] Second image to blend | @x1@,@y1@ [[type:double]] Coordinates where the gradient begins, and the first image is shown for 100% | @x2@,@y2@ [[type:double]] Coordinates where the gradient ends, and the second image is shown for 100% --Examples-- This gives a vertical gradient: > linear_blend(image1: "image1.png", image2: "image2.png", x1:0, y1:0, x2:1, y2:1) == [[Image]]
linear_blend(image1:--See also-- | [[fun:masked_blend]] Blend two images together using a third mask image. | [[fun:combine_blend]] Blend two images together using a given [[type:combine|combining mode]]., image2:
, x1:0, y1:0, x2:1, y2:1) ==