<code>$gfe = new Gif();//gif类 $gfe->extract($img['saveDir'].'/'.$img['fileName']); $frames = $gfe->getFrames();//帧信息 print_r($frames['0']['image']);die;//Resource id #17 用这个资源怎么生成图片</code>
<code>$gfe = new Gif();//gif类 $gfe->extract($img['saveDir'].'/'.$img['fileName']); $frames = $gfe->getFrames();//帧信息 print_r($frames['0']['image']);die;//Resource id #17 用这个资源怎么生成图片</code>
Can you post the API? I haven’t seen this class before, but I think it has a built-in API in theory.