GD2库是否在想象Yii核心框架,支持GIF多层(动画)?

时间:2016-06-21 23:09:08

标签: php yii2 gd

此代码返回" 1"总是!

\yii\imagine\Image::$driver = [\yii\imagine\Image::DRIVER_GD2];
$imagine = \yii\imagine\Image::getImagine();
$image = $imagine->open('image.gif');
echo count($image->layers()) . " layers";

imagine Yii核心框架中的GD2库是否支持GIF多层(动画)?

0 个答案:

没有答案