pbmtoascii
Convert a PBM image to ASCII graphics. More information: <https://netpbm.sourceforge.net/doc/pbmtoascii.html>.
Install
- All systems
-
curl cmd.cat/pbmtoascii.sh
- Debian
-
apt-get install netpbm
- Ubuntu
-
apt-get install netpbm
- Arch Linux
-
pacman -S netpbm
- Kali Linux
-
apt-get install netpbm
- CentOS
-
yum install netpbm-progs
- Fedora
-
dnf install netpbm-progs
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install netpbm
- OS X
-
brew install netpbm
- Raspbian
-
apt-get install netpbm
- Dockerfile
- dockerfile.run/pbmtoascii
Convert a PBM image to ASCII graphics. More information: <https://netpbm.sourceforge.net/doc/pbmtoascii.html>.
-
Read a PBM file as input and produce an ASCII output:
pbmtoascii path/to/input_file.pbm
-
Read a PBM file as input and save an ASCII output into a file:
pbmtoascii path/to/input_file.pbm > path/to/output_file
-
Read a PBM file as input while setting the pixel mapping (defaults to 1x2):
pbmtoascii -1x2|2x4 path/to/input_file.pbm
-
Display version:
pbmtoascii -version
© tl;dr; authors and contributors