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