判斷是否漸進
npm install —global is-progressive-cli
is-progressive *.jpgnpm
轉換爲漸進法一
brew install imagemagick
brew install graphicsmagick
npm install gm -g
gm convert 1.jpg -interlace Line 1-line.jpgmarkdown
轉換爲漸進法二
npm install gmapp
var gm = require('gm').subClass({imageMagick: true});
gm("img.png").progress()