shithub: imgtools

ref: 172c1e097c06d3a707992034cae962f513c1c73c
dir: /README.md/

View raw version
# imgtools

Some random image-related tools.

## convert

Converts a Plan 9 image from one format to another.  For example,
`convert -c rgb16 <a.img >b.img` will convert `a.img` to RGB16 and
save it as `b.img`.

"Channels" (`-c` argument) are defined at `/sys/include/draw.h:133`.
`rgb16`, `RGB16`, `r5g6b5` and `R5G6B5` mean the same thing
(case-insensitive).

## resample

A faster drop-in replacement of `resample(1)` with some more features.