Function __global->add_pic_watermarking
Definitions
sources/images_cleanup_pipeline.php
- Add image watermarking.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$image | resource | required parameter | N/A | N/A | GD image resource |
$watermarks | array | required parameter | N/A | N/A | Watermark corners (top-left, top-right, bottom-left, bottom-right) |
Return
- A pair: Adjusted GD image resource, Whether a change was made
- Type: array
- Set: N/A
- Range: N/A