Very good library is GD2
This library has multiple languages bindings, including C (which is compatible with C++ of course). It is easy to build GD as a static or dynamic library with actually any C++ compiler, including GCC and Visual C++, also pre-built binaries are available over Internet.
Unlike Boost image library, it allows to load/save images from/to memory and not hard drive only.