Imagine images has black background when created, how do I fix it?
$im->setImageBackgroundColor('white');
Setting it to white makes it delete white designs in png.
>Solution :
$backgroundColor = new ImagickPixel('None');
$im->setImageBackgroundColor($backgroundColor);
Set color to none. It should fix this issue.