1.0.0 • Published 10 years ago

grafty v1.0.0

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
10 years ago

grafty

Converts images to ascii art.

Installation

Install imagemagick and jp2a, typically:

brew install jp2a imagemagick

Or

apt-get install jp2a imagemagick

Usage

var Grafty = require('grafty');

var grafty = new Grafty({
  width: 30,
  dir: '/tmp'
});

grafty.convert('photo.png', function (err, result) {
  console.log(result);
});

Note: dir defaults to /tmp but if you are on Windows, you should change this to your proper /tmp directory.

image

becomes

image

Tests

npm test
1.0.0

10 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago