imagehash
imagehash copied to clipboard
Fatal error: Uncaught Intervention\Image\Exceptions\DecoderException: Unable to decode input on qnap
OS: Linux NAS65A682 5.10.60-qnap
It can work with jpg, but fail with webp.
Fatal error: Uncaught Intervention\Image\Exceptions\DecoderException:
Unable to decode input in /vendor/intervention/image/src/InputHandler.php:107 Stack trace: #0
vendor/intervention/image/src/Drivers/AbstractDriver.php(56):
Intervention\Image\InputHandler->handle('RIFF\xE6\x12\x02\x00WEBPVP8...') #1
/vendor/intervention/image/src/ImageManager.php(85):
Intervention\Image\Drivers\AbstractDriver->handleInput('RIFF\xE6\x12\x02\x00WEBPVP8...', Array) #2
/vendor/jenssegers/imagehash/src/ImageHash.php(31):
Intervention\Image\ImageManager->read('RIFF\xE6\x12\x02\x00WEBPVP8...') #3
file.php(13): Jenssegers\ImageHash\ImageHash->hash('RIFF\xE6\x12\x02\x00WEBPVP8...') #4
{main} thrown in /vendor/intervention/image/src/InputHandler.php on line 107
Would be nice if there will be a notice in PhpDoc, that this Exception is thrown.