modify image size.