FreeImage working - printing correct dimensions