Closed dinamic closed 8 months ago
Thanks for reporting. I will look into this.
Since GIF files do not always correspond 100% to the original specification, my decoder has a "virtual" block called FrameBlock
which allows different block elements in various orders and is not part of the official GIF spec. The only requirement is that the FrameBlock
ends with a Table Based Image.
Apart from your file, I have not come across any GIF file that deviates from this unofficial "standard". Your file ends with a Comment Extension. However, the format is correct and I mistakenly assumed this standard. The decoder must be adapted accordingly.
This issue should be fixed. Update intervention/gif
to >= 4.0.2
, which should happen automatically if you have required intervention/image
.
Awesome! Thanks, @olivervogel 🚀
Describe the bug Upon trying to open a GIF image an exception is thrown.
Code Example
Expected behavior The image to be opened, resized and saved.
Images Here's an image I found in Google at https://gist.github.com/vininjr/d29bb07bdadb41e4b0923bc8fa748b1a:
Environment (please complete the following information):