revise image size