Imagick not loading images, with 'NoDecodeDelegateForThisImageFormat' error message

前端 未结 4 468
别那么骄傲
别那么骄傲 2020-12-03 11:56

Trying to create a thumbnail, but i\'m getting some errors and I have no experience with Imagick.

Here is my PHP:



        
4条回答
  •  情深已故
    2020-12-03 12:12

    I think your version of the underlying Image Magick library is running without support for the image format that you're trying to open. You should be able to test this by running:

    identify -list format
    

    And seeing if JPEG 2000 or JP2 is listed.

    EDIT

    The OP updated with the list of image formats listed by Image Magick and it seemed a complete list of formats. However running Imagick::queryFormats() in PHP shows that no image formats are supported.

    This apparently is a common problem when you are using a version of the Image Magick DLL that is not the correct version for your installed PHP version. Imagick will claim to be loaded without errors, but there will be no image formats available for either loading or saving images.

提交回复
热议问题