php-imagine / Imagine

PHP Object Oriented image manipulation library
https://imagine.readthedocs.io
Other
4.42k stars 529 forks source link

GD does not support layer set #752

Closed kvachakhia closed 3 years ago

kvachakhia commented 3 years ago

Issue description

[GD does not support layer set ] My code: image

What version of Imagine are you using?

1.2.4

What's the PHP version you are using?

7.4

What's the imaging library you are using [gd/imagick/gmagick/any]?

...

What's the imaging library configuration

Minimal PHP code to reproduce the error:


// Please write the PHP code that shows the issue
// Use only code of the Imagine library (no 3rd party PHP libraries)
// If you load an image, please provide it too so that we can replicate your issue
ausi commented 3 years ago

This is the expected behavior because the GD driver does not support layers or animated GIFs.

kvachakhia commented 3 years ago

@ausi but how I can make from images one gif?

ausi commented 3 years ago

By using one of the GMagick or IMagick drivers. The GD library does not support animated GIFs but IMagick and GMagick both are able to generate animated GIFs as far as I know.