a C++11 FreeImage wrapper