Simple OpenGL Image Library Windows/Linux 32/64-bit

Headers, Bindings, Libraries for use with FreeBASIC, Please include example of use to help ensure they are tested and usable.
Post Reply
D.J.Peters
Posts: 8616
Joined: May 28, 2005 3:28
Contact:

Simple OpenGL Image Library Windows/Linux 32/64-bit

Post by D.J.Peters »

Simple OpenGL Image Library "libsoil" for Windows/Linux 32/64-bit.
  • Readable Image Formats:
  • BMP - non-1bpp, non-RLE (from stb_image documentation)
  • PNG - non-interlaced (from stb_image documentation)
  • JPG - JPEG baseline (from stb_image documentation)
  • TGA - greyscale or RGB or RGBA or indexed, uncompressed or RLE
  • DDS - DXT1/2/3/4/5, uncompressed, cubemaps (can't read 3D DDS files yet)
  • PSD - (from stb_image documentation)
  • HDR - converted to LDR, unless loaded with *HDR* functions (RGBE or RGBdivA or RGBdivA2)
  • Writeable Image Formats:
  • TGA - Greyscale or RGB or RGBA, uncompressed
  • BMP - RGB, uncompressed
  • DDS - RGB as DXT1, or RGBA as DXT5
download: libsoil.zip

Joshy

included:
soil.bi
soil32.dll
soil64.dll
libsoil32.so
libsoil64.so
test01.bas ' RGB
test01.bas ' RGBA
OpenGL_RGB.png
OpenGL_RGBA.png
Last edited by D.J.Peters on Oct 12, 2022 18:47, edited 4 times in total.
D.J.Peters
Posts: 8616
Joined: May 28, 2005 3:28
Contact:

Re: Simple OpenGL Image Library Windows/Linux 32/64-bit

Post by D.J.Peters »

new version:
changes: all integer/uinteger are long/ulong now (important for 64-bit).
added: test01.bas and test02.bas
Post Reply