LPS-51998 Do not calculate the width and height if the image has not been processed yet