Disposal method 3 is not implemented
Opened this issue · 0 comments
james090500 commented
Some GIF's give this error when trying to decode. I have attached a broken GIF and a working GIF
Source of error: https://github.com/stil/gif-endec/blob/master/src/Renderer.php#L66-L73
Code Example
$gifStream = new FileStream($uploadedFile);
$gifDecoder = new Decoder($gifStream);
$gifRenderer = new Renderer($gifDecoder);
$gifRenderer->start(function(FrameRenderedEvent $event) use (&$frames) {
$frames[] = $event->renderedFrame;
});
The error from laravel
"message": "Disposal method 3 is not implemented.",
"exception": "RuntimeException",
"file": "C:\\wamp64\\www\\minecraftcapes\\vendor\\stil\\gif-endec\\src\\Renderer.php",
"line": 72,