Initial work on using FreeImage