Added a function to resize images to ISUtils