tepimg

Crates.iotepimg
lib.rstepimg
version0.1.0
sourcesrc
created_at2022-11-23 04:36:26.387301
updated_at2022-11-23 04:36:26.387301
descriptionSimple template library
homepage
repositoryhttps://github.com/gennyble/tep
max_upload_size
id721356
size25,094
(gennyble)

documentation

README

tep lets you make little pixel art images in a file and then compile them to images. See:

w: #FFF
b: #000

w b w b w b
b w b w b w
w b w b w b
b w b w b w
w b w b w b
b w b w b w

The spaces are optional but let it stay at least a little more square than it could be in whatever font this is than I'm using.

Install it with

cargo install tepimg

or clone it down and

cargo install --path tep

Usage

tepimg tests/standard.tep tests/standard.png

Or, if you want to share a palette between images, you can pass it in separate. The palette provided with -p will be used instead of any palette in the image.

tepimg -p tests/standard_palette tests/standard.tep tests/standard.png

Valid colour definitions

short gray: #1 becomes #111111
long gray: #12 becomes #121212
short rgb: #abc becomes #aabbcc
short rgba: #abcd becomes #aabbccdd
long rgb: #abcdef
long rgba: #abcdef12
rgb(...) and rgba(...) with bytes. So like, rgb(51,170,136)

Commit count: 26

cargo fmt