reduce the image size.