zhangyuanwei / node-images

Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Nodejs
https://npmjs.org/package/images
MIT License
1.55k stars 204 forks source link

images 不能支持 gif 吗? #233

Open Xiphap opened 3 years ago

Xiphap commented 3 years ago

images 解析 gif 图片时👇 https://img.zcool.cn/community/01014758300c37a801219c77b4c13d.gif 报错: dyld: lazy symbol binding failed: Symbol not found: _reallocarray Referenced from: /node_modules/images/vendor/darwin-x64-binding.node Expected in: flat namespace dyld: Symbol not found: _reallocarray Referenced from: node_modules/images/vendor/darwin-x64-binding.node Expected in: flat namespace 求解,感谢 🙏

oxUnd commented 3 years ago

要不你先转成 png 用吧,这个问题后面再查查;

Xiphap commented 3 years ago

就是要 gif 图像才行 😂 转成 PNG 就没动画效果了。 而且要转成 PNG 也要先解码……