node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

cadabra

Cadabra

Cadabra is a NodeJS wrapper for ImageMagick using the mogrify command line program. The module is inspired by Ruby's MiniMagick library.

Installation

$ npm install cadabra

Usage

var cadabra = require("cadabra")
cadabra.Image.open("input.jpg", function(err, image) {
  if(!err) {
    image.resize("100x100").write("output.jpg")
  }
})