dear all,
How to use water mark in phalcon. My current doesn't work.
$mark = 'img/watermark.png'; $image->watermark($mark, TRUE, TRUE);
any idea. plz??
https://docs.phalcon.io/en/latest/api/Phalcon_Image_Adapter.html
public watermark (Phalcon\Image\Adapter $watermark, [unknown $offsetX], [unknown $offsetY], [unknown $opacity])
First argument should be an image adapter instance, while second and third integers for position
I need to call phalcon image adapter. thanks
$mark = new Phalcon\Image\Adapter\GD('img/watermark.png'); $image->watermark($mark, 270, 320);
https://docs.phalcon.io/en/latest/api/Phalcon_Image_Adapter.html public watermark (Phalcon\Image\Adapter $watermark, [unknown $offsetX], [unknown $offsetY], [unknown $opacity]) First argument should be an image adapter instance, while second and third integers for position