Closed rassloff closed 6 months ago
my version:
convert -version Version: ImageMagick 7.1.1-4 Q16-HDRI aarch64 20976 https://imagemagick.org Copyright: (C) 1999 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC HDRI Modules OpenMP(5.0) Delegates (built-in): bzlib fontconfig freetype gslib heic jng jp2 jpeg jxl lcms lqr ltdl lzma openexr png ps raw tiff webp xml zlib Compiler: gcc (4.2)
with PHP 8.2.4 (cli)
on MAC OS
error massage:
ImagickException: NoDecodeDelegateForThisImageFormat `PNG' @ error/constitute.c/ReadImage/746
my PHP code:
$image = new Imagick(); try { $image->pingImage($file); } catch (ImagickException $e) { Log::debug('Fehler Zeile 45 ' . $e); abort(422, 'Could not read file as image.'); }
any solution on this ???
Sorry can't help you. Your issue is not directly related to Glide.
my version:
convert -version Version: ImageMagick 7.1.1-4 Q16-HDRI aarch64 20976 https://imagemagick.org Copyright: (C) 1999 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC HDRI Modules OpenMP(5.0) Delegates (built-in): bzlib fontconfig freetype gslib heic jng jp2 jpeg jxl lcms lqr ltdl lzma openexr png ps raw tiff webp xml zlib Compiler: gcc (4.2)
with PHP 8.2.4 (cli)
on MAC OS
error massage:
ImagickException: NoDecodeDelegateForThisImageFormat `PNG' @ error/constitute.c/ReadImage/746
my PHP code:
$image = new Imagick(); try { $image->pingImage($file); } catch (ImagickException $e) { Log::debug('Fehler Zeile 45 ' . $e); abort(422, 'Could not read file as image.'); }
any solution on this ???