You need code to encode and decode the formats you want to support. You can do it yourself (not quite perfect / practical), you can implement encoding / decoding libraries (like libpng, for example), or you can embed image libraries like DevIL.
Boost seems to include some image access library known as Boost.GIL . I really don't know much about this.
source share