JS Image to ANSI: Convert an image pixels to ANSI colour codes

Recommend this page to a friend!
  Info   View files View files (18)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-02-24 (Less than 1 hour ago) RSS 2.0 feedNot yet rated by the usersTotal: 30 All time: 524 This week: 3Up
Version License JavaScript version Categories
image-to-ansi 1.0GNU General Publi...5Graphics, Console
Description 

Author

This object can convert an image pixels to ANSI colour codes.

It take an image data source that can be uploaded from the browser and puts it on a canvas object, so it can scan the image pixel colors.

The object can generate ANSI codes that can be used to render the image on a ANSI terminal console mapping image pixels to characters of colors that closely match the colors of the image.

Innovation Award
JavaScript Programming Innovation award winner
October 2017
Winner
This object can convert an image pixels to ANSI colour codes.

It take an image data source that can be uploaded from the browser and puts it on a canvas object, so it can scan the image pixel colors.

The object can generate ANSI codes that can be used to render the image on a ANSI terminal console mapping image pixels to characters of colors that closely match the colors of the image.

Manuel Lemos
Picture of Dom Hastings
  Performance   Level  
Name: Dom Hastings <contact>
Classes: 4 packages by
Country: United Kingdom
Age: 40
All time rank: 993 in United Kingdom
Week rank: 6 Up1 in United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

Winner: 2x

  Files folder image Files  
File Role Description
Files folder imagedist (2 directories)
Files folder imagesrc (2 directories)
Accessible without login Plain text file .prettierrc Data Auxiliary data
Accessible without login Plain text file docker-compose.yml Data Auxiliary data
Accessible without login Plain text file esbuild.js Aux. Auxiliary script
Accessible without login HTML file index.html Data Auxiliar data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file package-lock.json Data Auxiliary data
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file tsconfig.json Data Auxiliary data
Accessible without login Plain text file _config.yml Data Auxiliary data

  Files folder image Files  /  dist  
File Role Description
Files folder imagecss (1 file)
Files folder imagejs (2 files)

  Files folder image Files  /  dist  /  css  
File Role Description
  Accessible without login Plain text file app.css Data Auxiliary data

  Files folder image Files  /  dist  /  js  
File Role Description
  Accessible without login Plain text file app.js Example Example script
  Accessible without login Plain text file app.js.map Example Example script

  Files folder image Files  /  src  
File Role Description
Files folder imagecss (1 file)
Files folder imagejs (4 files)

  Files folder image Files  /  src  /  css  
File Role Description
  Accessible without login Plain text file app.scss Data Auxiliary data

  Files folder image Files  /  src  /  js  
File Role Description
  Accessible without login Plain text file app.ts Data Auxiliary data
  Accessible without login Plain text file process.ts Data Auxiliary data
  Accessible without login Plain text file readImage.ts Example Example script
  Accessible without login Plain text file rgbToTerm.ts Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:30
This week:0
All time:524
This week:3Up