我正在使用gm模块。这是我的代码:
gm(picture.path).thumb('250', '180', picture.thumb_path, 100, function (error) { if(error) console.log(error); });
但结果大小有时是 249x180。我需要 250x180
javascript image-processing node.js node-imagemagick
image-processing ×1
javascript ×1
node-imagemagick ×1
node.js ×1