watermarkImgAlphaBlend
(mPDF ≥ 4.5)
watermarkImgAlphaBlend – Specify the blend mode for overlying watermark images
Description
void watermarkImgAlphaBlend
Specify the blend mode for overlying watermark images. Different blend modes work with different types of images.
The blend modes are those specified in the
PDF reference. The value of
'Normal'
gives acceptable results for most cases. 'Multiply'
may produce better results with overlying WMF or SVG images.
Note: This variable can be changed as any other configuration variable
Values
$watermarkImgAlphaBlend
'Normal'
'Multiply'
'Screen'
'Overlay'
'Darken'
'Lighten'
'ColorDodge'
'ColorBurn'
'HardLight'
'SoftLight'
'Difference'
'Exclusion'
Default: 'Normal'
Changelog
Version | Description |
---|---|
4.5 | Variable was added. |
See Also
- watermarkImgBehind - Specify whether to place watermark images behind page contents