Generate previews and thumbs folders and images.
npm install -g generate-image-preview
genprev [path]
genprev ./
if the console log "cannot find convert
binary ..." , u should install graphicsmagick
and imagemagick
。
yum install imagemagick
yum install graphicsmagick
installation via yum/apt-get/brew depend on the System.
genprev [path]
var genPrev = require('generate-image-preview')
genPrev([..paths])
//genPrev('/home/hello/world')
//genPrev('./')