1
0
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:
Oliver Vogel
2021-10-30 17:06:19 +02:00
parent e351b68683
commit c71256a0a6

View File

@@ -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;