Skip to content
📷 A PHP script which creates "terminal images" from an inputfile.
PHP
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
screenshots add file Jun 16, 2019
LICENSE Initial commit Jun 16, 2019
README.md Updated readme infos Sep 30, 2019
imager.php Shortened the code, added pathinfo, added file existence check, added… Oct 1, 2019

README.md

terminal-imager

A PHP script which creates "terminal images" from an inputfile.

Usage

Supported file types: .png, .jpg, .jpeg.

  1. Open terminal
  2. php imager.php ./path/to/image.png
  3. The output is stored in output.sh
  4. You can test the output with chmod +x output.sh && ./output.sh

Note

Most terminals are 80 to 130 columns wide and 25 to 40 rows in height. So it's recommended to use pictures within this dimensions.

Screenshots

RundesBalli logo:
RundesBalli logo

Integrated circuit (from wikipedia):
integrated circuit

You can’t perform that action at this time.