To reduce image size in bulk