使用gm读取jpeg文件发现JPEG library版本不对
{ [Error: Command failed: convert.exe: Wrong JPEG library version: library is 90, caller expects 80 C:\Users\sura\AppData\Local\Temp\vba1Feff6-AzlTc02_3e-9T_.jpg' @ error/jpeg.c/JPEGErrorHandler/322. convert.exe: no images defined
public/images/logo/56fcb7906b073ce820da0d2b.jpg’ @ error/convert.c/ConvertImageCommand/3252.
] code: 1, signal: null }
用的是windows,如何删除旧版本的libjpeg
貌似安装时需要用VS生成libjpeg.lib然后让node-gyp引用?
1 回复
试了下gm的write命令无论是读还是写jpg文件都不行
大概已经编译出来了,但不知道如何加载到gm