compose
- Ariadne >
- Library >
- Ariadne 2.4 >
- Manuals >
- Programmers Reference >
- Classes >
- Photo >
- PINP Methods >
(void) compose($target, $style="default", $blend=0, $params=false )
Composes a new image out of the current image and the target image.
| Argument | Description |
|---|---|
| $target | The path to the target image. |
| $style | The name of the predefined compose style. |
| $blend | The percentage of alpha blending. |
| $params | An array of parameters to override compose style parameters. |
compose() composes a new image out of the current image and the target image. It will overlay the current image with the target image, as specified in the compose style.

