ImageResize Function

ResizeTo wit upscale and fill (no whitespace) option.
Working on both GD Library and Imagemagick