Added support for FreeImage