A very small library for reading image files
C 98.8%
Shell 0.2%
Other 1.0%
8 1 0

Clone this repository

https://tangled.org/qeaml.bsky.social/img https://tangled.org/did:plc:3ufvm6a2mvlgdqspwwah2eso/img
git@knot.tangled.wizardry.systems:qeaml.bsky.social/img git@knot.tangled.wizardry.systems:did:plc:3ufvm6a2mvlgdqspwwah2eso/img

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

img#

A very small library for reading image files, consisting of a single header and C file. Tested on Clang and GCC, might compile on others too.

The primary purpose of this library is for me to figure out the inner workings of various image formats, but also an excuse for me to write C code. This also serves as a simple repository to figure out Tangled.

In general, you should use something like stb_image instead.

Supported formats#