calcSquareResolutionBySize() to Bmp.