mirror of
https://github.com/Intervention/image.git
synced 2025-08-14 18:04:01 +02:00
Fixed Imagick Frame content
This commit is contained in:
@@ -27,7 +27,9 @@ class BinaryImageDecoder extends AbstractDecoder implements DecoderInterface
|
||||
$image->setLoops($imagick->getImageIterations());
|
||||
|
||||
foreach ($imagick as $frame_content) {
|
||||
$image->addFrame(new Frame($frame_content));
|
||||
$image->addFrame(
|
||||
new Frame($frame_content->getImage())
|
||||
);
|
||||
}
|
||||
|
||||
return $image;
|
||||
|
Reference in New Issue
Block a user