Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Takes an image and greyscales it.
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitattributes
.gitignore
LICENSE
README.md
greyscaler.js
index.js
package.json

README.md

greyscaler

Takes an image and greyscales it.

Installation

npm install greyscaler

Usage

CLI

Usage: greyscaler [options]

Options:

  -h, --help                     output usage information
  -V, --version                  output the version number
  -i, --images <images>          Images to greyscale
  -o, --outputPath [outputPath]  Output path

Module

var greyscaler = require('./greyscaler');

greyscaler('test.png', './output', callback);
Something went wrong with that request. Please try again.