Lucee Function Reference

imageoverlay()

Combines two images by overlaying one on top of the other using alpha compositing. The second image is blended with the first based on its transparency.

Example

imageoverlay(any source1,any source2):void

Category

image

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
source1 any  Yes The base image that serves as the bottom layer. This image is modified in place to contain the final result.  
source2 any  Yes The overlay image that is blended on top of the base image. Its transparency affects the final blending result.