(IMAGE-SIZE upper-left-point lower-right-point)

Returns the size in bytes required to store the bitmap enclosed between the two given points.