added image scaling function in the Image class