Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.54 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.54 KB

parse-image

codecov.io Build Status npm version

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.

Installation

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 installation

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:

graphicsmagick
libpng-dev
zlib1g-dev