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 205 forks source link

dyld: lazy symbol binding failed: Symbol not found: _reallocarray #221

Open soushenji opened 3 years ago

soushenji commented 3 years ago

我也遇到这个问题了,看到有相同的issue,但是已经关闭了。https://github.com/zhangyuanwei/node-images/issues/150 我的操作系统是 MacOS Mojave,在处理gif动图的时候会提示这个,如果是gif格式的非动态图片,则能正常。 在执行 var img = await images(file.path); 就会报错

Vibes-INS commented 3 years ago

I have the same problem

Vibes-INS commented 3 years ago

My solution is to change to sharp https://www.npmjs.com/package/sharp

soushenji commented 3 years ago

我发现 Jimp 也是无法缩放gif,https://github.com/oliver-moran/jimp/issues/901 但node-images最好还是把这个错误提示给改上