[php-src] Issue #13268: Imagick error in PHP 8.2 and 8.3 (not in 8.1)
| From: | TonyCBE | Date: | Mon, 29 Jan 2024 12:30:32 +0000 |
| Subject: | [php-src] Issue #13268: Imagick error in PHP 8.2 and 8.3 (not in 8.1) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246356@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/13268
Author: TonyCBE
### Description
$image = new Imagick();
try {
$image->readImage($path . $file);
}
catch (ImagickException $e)
{
schrijf_log('Error reading image: ' . $e->getMessage());
}
Gives error: "NoDecodeDelegateForThisImageFormat `JPEG' @
error/constitute.c/ReadImage/746"
Error is generated in 8.2 en 8.3, not in 8.1
### PHP Version
PHP 8.2
### Operating System
_No response_