Skip to content

59naga/pixel-to-ansi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel-to-ansi NPM version Build Status Coverage Status

ImageData to AnsiBackgroundColor

Installation

$ npm install pixel pixel-to-ansi --save

API

ansi.convert(ImageData) -> ansiBgString

var pixel= require('pixel');
var ansi= require('pixel-to-ansi');
pixel.parse('http://cdn.rawgit.com/59naga/fixture-images/master/still.PNG')
.then(function(ImageData){
  console.log(ansi.convert(ImageData));
});

becomes:

The Kiss (Klimt)

Related projects

License

MIT

About

ImageData to AnsiBackgroundColor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published