Crates.io | tepimg |
lib.rs | tepimg |
version | 0.1.0 |
source | src |
created_at | 2022-11-23 04:36:26.387301 |
updated_at | 2022-11-23 04:36:26.387301 |
description | Simple template library |
homepage | |
repository | https://github.com/gennyble/tep |
max_upload_size | |
id | 721356 |
size | 25,094 |
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
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
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)