1.0.0 • Published 8 years ago

grafty v1.0.0

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
8 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

8 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago