mirror of
https://github.com/Intervention/image.git
synced 2025-08-20 12:41:23 +02:00
Normalized delay
This commit is contained in:
@@ -47,7 +47,7 @@ class BinaryImageDecoder extends AbstractDecoder implements DecoderInterface
|
||||
$splitter = GifSplitter::create($gif)->split();
|
||||
$delays = $splitter->getDelays();
|
||||
foreach ($splitter->coalesceToResources() as $key => $gd) {
|
||||
$image->addFrame((new Frame($gd))->setDelay($delays[$key]));
|
||||
$image->addFrame((new Frame($gd))->setDelay($delays[$key] / 100));
|
||||
}
|
||||
|
||||
return $image;
|
||||
|
Reference in New Issue
Block a user