moved freeimage.h into helper.h