Simple OpenGL Image Library
SOIL is a tiny C library used primarily for uploading textures into OpenGL.
It is based on stb_image version 1.16, the public domain code from Sean
Barrett (found here). It has been extended to load TGA and DDS files, and
to perform common functions needed in loading OpenGL textures. SOIL can
also be used to save and load images in a variety of formats.
With clib:
$ clib install littlstar/soil --saveFrom source:
$ make
$ make installSOIL is meant to be used as a static library (as it's tiny and in the public domain).
Simply #include in your C or C++ file, link in the static
library, and then use any of SOIL's functions. The file <SOIL/SOIL.h
contains simple doxygen style documentation. (If you use the static library,
no other header files are needed besides SOIL.h)
EXT_texture_compression_s3tc is available), using an internal (very fast!) compressorGL_MAX_TEXTURE_SIZEGL_ARB/EXT/NV_texture_rectangle)width = 6 * height (or vice versa), split it into an OpenGL cube map texturestb_image documentation)stb_image documentation)stb_image documentation)stb_image documentation)Public Domain
Originally sourced from https://github.com/paralin/soil
No open issues yet, or sync has not completed.