C++ library for encoding and decoding BLP images