You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
image_type | 3 years ago | |
minimp3 | 3 years ago | |
stb_image | 3 years ago | |
stb_image_resize | 3 years ago | |
stb_image_write | 3 years ago | |
stb_perlin | 3 years ago | |
stb_truetype | 3 years ago | |
stb_vorbis | 3 years ago | |
.gitignore | 3 years ago | |
Makefile | 3 years ago | |
README.md | 3 years ago | |
dune-project | 3 years ago | |
ibutsu.opam | 3 years ago | |
test_pokeball.png | 3 years ago |
README.md
Ibutsu is a collection of bindings to small, self-contained C libraries. These libraries either come from or are inspired by Stb.
The goal is to expose some features, especially around multimedia, which are not convenient to implement directly in OCaml. The libraries have no dependency besides a libc and a C compiler, they are portable and easy to distribute. The bindings work with native and bytecode OCaml.
The modules available are:
Image_type
: a simple representation for pixel maps used by other modulesStb_image
: JPG, PNG, BMP, TGA, ... decoder, plus a few simple filtersStb_image_write
: JPG, PNG, ... encoderStb_image_resize
: image resizer with a variety of resize filters and image formatsStb_truetype
: truetype font (*.ttf) decoder and rasterizerMinimp3
: high-quality MP3 (plus audio layer 1 and 2) decoder
Stb is released by Sean T. Barrett in the public domain or MIT.
Minimp3 is released by Lion(?) in the public domain or CC-0.
The present bindings are released in the public domain or MIT or ISC or CC-0.