Intervention / image

PHP Image Processing
https://image.intervention.io
MIT License
13.88k stars 1.5k forks source link

The alpha of the watermark is not preserved if you place the watermark and apply opacity when using the Imagick driver #1367

Closed ludekbenedik closed 3 months ago

ludekbenedik commented 3 months ago

Describe the bug result-imagick

Code Example

$manager = ImageManager::imagick();
$image = $manager->read('image.png');
$image->place('watermark.png', 'center-center', opacity: 50);
$image->save('result-imagick.png');

Expected behavior (result when using the GD driver) result-gd

Images Image image

Watermark watermark

Environment (please complete the following information):

olivervogel commented 3 months ago

Thanks for reporting. I will look into it.

olivervogel commented 3 months ago

This issue has been fixed as of version 3.7.0.