/bash-bmp

bmp generation in pure bash

Primary LanguageShell

bash-bmp

Generate Bitmap data in pure bash.

Watch how it was made on YouTube.

Usage

Simple BMP (2x2 pixels)

./simple-bmp > out.bmp

simple-bmp

Color Gradient

./gradient -h 200 -v 200 -o out.bmp

gradient

cat smile.txt | ./sprite-to-bmp -p palette.txt -o out.bmp

smile

License

  • MIT License

YouTube

Bash BMP YouTube
Thumbnail