diff --git a/src/Renderer.php b/src/Renderer.php index c99678a..dfc1ba5 100644 --- a/src/Renderer.php +++ b/src/Renderer.php @@ -65,7 +65,7 @@ protected function render(Frame $frame, $index) $disposalMethod = $this->framePrevious->getDisposalMethod(); if ($disposalMethod === 0 || $disposalMethod === 1) { $this->copyFrameToBuffer($frame); - } elseif ($disposalMethod === 2) { + } elseif ($disposalMethod === 2 || $disposalMethod == 3) { $this->restoreToBackground($this->framePrevious, imagecolortransparent($this->frameCurrent)); $this->copyFrameToBuffer($frame); } else {