shithub: imgtools


branches: mustard

Clone

clone: git://shithub.us/sigrid/imgtools gits://shithub.us/sigrid/imgtools
push: hjgit://shithub.us/sigrid/imgtools
patches to: sigrid on 9gridchan, or [email protected]

Last commit

d758f742 – Sigrid Solveig Haflínudóttir <[email protected]> authored on 2021/07/16 03:16
resample: optional file path

About

# imgtools

Some random image-related tools.  Usually they are drop-in
replacements where possible.

## iconv

Converts a Plan 9 image from one format to another.  For example,
`iconv -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.