image
image copied to clipboard
Weird borders using mask() with Imagick
I notice some weird dark borders applying mask
using Imagick.
Using GD, mask
is very slow but borders seems ok.
Thought?
This is the code:
$image = Image::make('image.png');
$cutContour = Image::make('cut_contour.png');
$image->mask($cutContour, true);
return $image->response();
These are the original images:
image.png: https://pasteboard.co/GOrgBx4.png cut_contour.png: https://pasteboard.co/GOrgUf2.png