sigrid/imgtools

Description
# 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.
Last 5 commits (shortlog)
Date Author Short message Commit hash
2021-04-23 Sigrid even more cd326e72db3f6609dd2093c6934f9c4b8a8abc71
2021-04-23 Sigrid redefine a few more as macros 3b48079fd4326acb0b4771ff7fc62e1965282492
2021-04-23 Sigrid make uint8 to float conversion faster 417aaddf58751d731709803032ed2dd09fa68896
2021-04-23 Sigrid redefine stbir__edge_wrap as a macro for a speed up 5383442fa1cba98ca2f8638e9f8ef556d1f439ae
2021-02-17 Sigrid iconv: add an optional filename argument 4a924242a625638ac4e2c7e6169950d981d36e2e
Files (browse)
.gitignore
LICENSE
README.md
iconv.c
mkfile
resample.c
stb_image_resize.h