
有node-imagemagick,(显然,您需要ImageMagick)。
var im = require('imagemagick');im.identify('kittens.jpg', function(err, features){ if (err) throw err console.log(features) // { format: 'JPEG', width: 3904, height: 2622, depth: 8 }})欢迎分享,转载请注明来源:内存溢出

有node-imagemagick,(显然,您需要ImageMagick)。
var im = require('imagemagick');im.identify('kittens.jpg', function(err, features){ if (err) throw err console.log(features) // { format: 'JPEG', width: 3904, height: 2622, depth: 8 }})欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)