updated project to remove ImageArray
updated resizeImage method