Search code examples
cdimage-loading

Simple image loading libraries


I have an app that uses this library (actually a direct port to D) for some image processing. I'm looking for some other libraries of a similar style to use to load other file types.

Things I need/want:

  • Loss less format.
  • Simple C API.
  • Loads data into buffers in a raw pixel format.
  • Open source (as in I can get source files and compile them for my own use, aside from that, licensing doesn't matter)

Anyone know of anything like that?


Solution

  • devIL and SDL_Image supports a good deal of formats. Derelict provides their bindings.

    My own code for using these and have a raw buffer: