added FreeImage imageRescale in mod_graphix