mirror of
https://github.com/Intervention/image.git
synced 2025-08-15 02:14:03 +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());
|
$image->setLoops($imagick->getImageIterations());
|
||||||
|
|
||||||
foreach ($imagick as $frame_content) {
|
foreach ($imagick as $frame_content) {
|
||||||
$image->addFrame(new Frame($frame_content));
|
$image->addFrame(
|
||||||
|
new Frame($frame_content->getImage())
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $image;
|
return $image;
|
||||||
|
Reference in New Issue
Block a user