Create compressImage.m

compress an image to a new size