-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected DecoderException thrown #1400
Comments
Thanks for reporting. This seems to be an issue with Imagemagick/Imagick installed with Ubuntu 24.04. I have extracted the entire process and recreated it using only “native” Imagick calls. This is what Intervention Image does under the hood. Lines 15 to 36 in 24f8960
You can see that the result of Imagick::getImagesBlob() is an empty string. This then leads to an exception when reading in again. |
Describe the bug
DecoderException
is thrown when trying to read a heic image created by lib itself. The error only occurs forheic
and not for other image types. Also the exception only occurs on Ubuntu 24.04, it does not happen on 22.04, so it's likely an environment issue and not an issue with the lib, but I needed help to figure how to handle it.The exact error can be seen here:
https://github.com/thephpleague/glide/actions/runs/11540990914/job/32122452702?pr=400#step:5:29
Code Example
Expected behavior
No exception to be thrown.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: