I've updated ImageImagick version 6.9.5 to 7.0.7 and image thumbnails in my app became empty image.
I spent some time to debug and I've localized an issue.
Removing this line fixes the issue. Replacing the constantIMGTYPE_TRUECOLORMATTE with IMGTYPE_TRUECOLOR also fixes the issue.
I think this issue relates to #524.
What's the PHP version you are using?
7.1.23
What's the imaging library you are using [gd/imagick/gmagick/any]?
Issue description
I've updated ImageImagick version 6.9.5 to 7.0.7 and image thumbnails in my app became empty image. I spent some time to debug and I've localized an issue. Removing this line fixes the issue. Replacing the constant
IMGTYPE_TRUECOLORMATTE
withIMGTYPE_TRUECOLOR
also fixes the issue. I think this issue relates to #524.What's the PHP version you are using?
7.1.23
What's the imaging library you are using [gd/imagick/gmagick/any]?
imagick
What's the imaging library configuration
Minimal PHP code to reproduce the error:
$source
is the path for PNG-24 image.$destination
is the path where will be an empty image after running this script.PS: The same issue I reported has been strangely deleted.