cache bitmap dimensions, not image dimensions