首先,我在convert中看到了gifsicle,但在usr/bin/中没有看到。我找错地方了吗?
我想使用https://pornel.net/lossygif压缩动画GIF,但是它需要小礼物才能工作。
到目前为止我得到了:exec("convert $animation -coalesce -gravity SouthWest -geometry +0+0 null: $watermark -layers composite -layers optimize $animation");开始工作..。
在那之后,我希望能够压缩图像:exec("gifsicle -O3 --lossy=80 -o $animation $animation");
发布于 2014-07-18 06:15:51
gifsicle github页面上有说明:https://github.com/kohler/gifsicle。根据服务器的不同,您可以尝试:
yum install gifsiclehttps://stackoverflow.com/questions/24818262
复制相似问题