The current logic merges all the layers when using WEBP and Imagick. In an animated image, these layers are the separate frames. Not merging the layers when we're dealing with an animation allows for the creation of animated webp files.
Note: this still does only work with Imagick, GD has no animated webp support yet.
The current logic merges all the layers when using WEBP and Imagick. In an animated image, these layers are the separate frames. Not merging the layers when we're dealing with an animation allows for the creation of animated webp files.
Note: this still does only work with Imagick, GD has no animated webp support yet.