more accurate image size