Port of Parse Image for parse-env based on node-gm
Auto install imagemagick and graphics magick with homebrew
on OS X OR apt
if available.
If the auto installation fails, you need to manually install imagemagick and graphicsmagick on you system.
just install it as a dependency:
$ npm install --save parse-image
There is a pre-install script that will attepmt to use brew
or apt
to install the imagemagick and graphicsmagick.
If the pre-install script fails, the installation continues but the module may not be working. (actually it won't work at all)
heroku comes with imagemagick (convert) by default.
You need to manually install heroku-buildpack-graphicsmagick
Update: As heroko-16
stack does not work with heroku-buildpack-graphicsmagick
any more you can use a different way to get this working on heroku instead:
- Setup heroku-buildpack-apt on your heroku instance
- Add this
Aptfile
to your main app repository:
graphicsmagick
libpng-dev
zlib1g-dev