Welcome Guest, Not a member yet? Register   Sign In
Watermarking image with image overlay


In CI3, I used to watermark images with an overlay of another image.

It looked like this: 
PHP Code:

$config['source_image']    = $filepath;
$config['image_library'] = 'GD2';
$config['wm_type'] = 'overlay';
$config['wm_overlay_path'] = realpath(APPPATH '../uploads/watermark.png');
$config['wm_vrt_alignment'] = 'bottom';
$config['wm_hor_alignment'] = 'right';
$config['wm_padding'] = '-10';


I want to do the same thing in CI4, but I see only a possibility to watermark with plane text overlay in the documentation.

Am I missing something?


Theme © iAndrew 2016 - Forum software by © MyBB