GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PascalPixel/pixels2text: Convert images to ascii shade blocks ░▒▓█

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
example
example
 
 
src
src
 
 
.babelrc
.babelrc
 
 
.gitignore
.gitignore
 
 
InputSans-Regular.woff
InputSans-Regular.woff
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bundle.js
bundle.js
 
 
index.html
index.html
 
 
package.json
package.json
 
 
webpack.config.js
webpack.config.js
 
 

Repository files navigation

pixels2text

Takes images and outputs ASCII shaded strings for each line.

Github Pages hosted demo

Here: https://superpencil.github.io/pixels2text/

Usage

  • npm install
  • npm start
  • Go to localhost:8080
  • In pixels2text.js change the source on line 60 and manually put the width and height you want on line 62 and 63

Example output

let output = [
  '                           ▓▓▓▓▓  ▓▓▓▓▓                   ',
  '                      ▓▓▓▓▓▓███▓▓▓▓█▓▓█▓▓                 ',
  '                      ▓███▓▓▓▓▓▓████████▓                 ',
  '                    ▓▓██▓▓▓██▓▓▓▓▓▓▓▓▓▓▓█▓                ',
  '                   ▓▓██▓▓██▓▓▓███████████▓                ',
  '                  ▓▓█████▓▓███████▓▓▓▓▓██▓                ',
  '                 ▓▓█████▓███████▓▓█████▓██▓▓              ',
  '                ▓▓▓▓▓███████████████████████▓             ',
  '               ▓▓▓▓███████████████████████▓█▓             ',
  '               ▓█████████████████████░░█████▓             ',
  '               ▓████░░░░░█████████░░░░░░████▓             ',
  '              ▓████░░░░░░░░░░░░░░░░░░░░░░▒▓█▓             ',
  '              ▓███▓░░░░░░░░░░░░░░░░░░░░░░░▓▓▓             ',
  '              ▓█▓▓░░░░░░░░░░░░░░░░░░░░░░░░▒▓▓             ',
  '              ▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░▒▓             ',
  '              ▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░▒▓             ',
  '              ▓▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░▒▓             ',
  '              ▓▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░▒▓             ',
  '              ▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒             ',
  '              ▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒             ',
  '              ▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒             ',
  '              ▒▒░░░░░██████░█░░░░░█░█████░░░▒             ',
  '              ▒▒░░░░█████████░░░░░████████░░▒             ',
  '              ▒▒░░░█░░░░░░███░░░░░███░░░░░█░▒             ',
  '             ░░▒░░█░░░░░░░░░░░░░░░░░░░░░░░░░▒             ',
  '            ░░░▒░░░░░░░░▓▒░░░░░░░░░░░▓▒░░░░░▒░            ',
  '            ░░░░░░░░░░░░▓▓░░░░░░░░░░░▓▓░░░░░░░            ',
  '            ░░░▒░░░░░░░ ▒▒ ░░░░░░░░░ ▒▒ ░░░░▒░            ',
  '            ░░░▒░░░░░░  ▒▒  ░░░░░░░  ▒▒  ░░░▒░            ',
  '            ░░░▒░░░░         ░   ░        ░░▒░            ',
  '            ░░░▒░░░░░       ░ ░░░ ░       ░░▒░            ',
  '            ░░░▒░░░░░        ░░░░░        ░░▒░            ',
  '             ░░▓▒░░░░        ░░░░░        ░░▒░            ',
  '              ░▓▓░░░░░      ░░░░░░░      ░░░▓░            ',
  '               ▓▓░░░░░░    ░░░░░░░▒░    ░░░░▓             ',
  '               ▓▓▓░░░░░░░░░░░░░░░▒▒░░░░░░░░▓▓             ',
  '               ▓▓▓░░░░░░░░▓▓▓▒▒▒▒▒▓▓▓░░░░░▓▓▓             ',
  '               ▓▓▓▓░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓░░░▓▓▓▓             ',
  '               ▓▓▓▓▓▓░░░▓▓▓░▓▓▓▓▓▓▓░▓▓▓░▓▓▓▓▓             ',
  '               █▓▓▓▓▓▓░░▓▓▓▒░░░░░░░▒░▓▓▓▓▓▓▓▓             ',
  '                ▓▓▓▓▓▓▓▓▓▓░░▒▒▒▒▒▒▒░░▓▓▓▓▓▓▓              ',
  '                █▓▓▓▓▓▓▓▓▓░░░░░░░░░░░▓▓▓▓▓▓█              ',
  '                ██▓▓▓▓▓▓▓▓░░░░░░░░░░░▓▓▓▓▓▓█              ',
  '                 ██▓▓▓▓▓▓▓░░░▓▓▓▓▓░░░▓▓▓▓▓█               ',
  '                  ██▓▓▓▓▓▓░░░░▓▓▓░░░░▓█▓▓█                ',
  '                  ░███▓▓█▓▓░░░▓▓▓░░░▓▓████                ',
  '                  ░░█████▓▓▓▓▓▓▓▓▓▓▓▓▓███                 ',
  '                  ░░░█████▓▓▓▓▓▓▓▓▓▓▓███░                 ',
  '                  ░░░░█████▓▓▓▓▓▓▓▓▓███░░                 ',
  '                 ░░░░░░░████▓▓█▓▓█▓███░░░                 ',
  '                 ░░░░░░░░░██████████░░░░░                 ',
  '                ░░░░░░░░░░░░░░░░░░░░░░░░░                 ',
  '               ░░░░░░░░░░░░░░░░░░░░░░░░░░░                ',
  '              ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░               ',
  '              ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░               ',
  '              ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░              ',
  '              ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░             ',
  '              ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░             ',
  '               ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░             ',
  '               ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░              ',
  '                ░░░░░░░░░░░░░░░░░░░░░░░░░░░░              ',
  '                 ░░░░░░░░░░░░░░░░░░░░░░░░░░░              ',
  '                  ░░░░░░░░░░░░░░░░░░░░░░░░░               ',
  '                   ░░░░░░░░░░░░░░░░░░░░░░                 ',
  '                      ░░░░░░░░░░░░░░░░░                   '
]

About

Convert images to ascii shade blocks  ░▒▓█

code.superpencil.com/pixels2text/

Resources

Readme
MIT license
Activity

Stars

10 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.