Visible to Intel only — GUID: GUID-B07663B8-489A-419A-AB36-D848162E020C
Visible to Intel only — GUID: GUID-B07663B8-489A-419A-AB36-D848162E020C
IMAGESIZE, IMAGESIZE_W
Graphics Functions: Return the number of bytes needed to store the image inside the specified bounding rectangle. IMAGESIZE is useful for determining how much memory is needed for a call to GETIMAGE. These routines are only available for Windows.
USE IFQWIN
result = IMAGESIZE (x1,y1,x2,y2)
result = IMAGESIZE_W (wx1,wy1,wx2,wy2)
x1, y1 |
(Input) INTEGER(2). Viewport coordinates for upper-left corner of image. |
x2, y2 |
(Input) INTEGER(2). Viewport coordinates for lower-right corner of image. |
wx1, wy1 |
(Input) REAL(8). Window coordinates for upper-left corner of image. |
wx2, wy2 |
(Input) REAL(8). Window coordinates for lower-right corner of image. |
The result type is INTEGER(4). The result is the storage size of an image in bytes.
IMAGESIZE defines the bounding rectangle in viewport-coordinate points ( x1, y1) and ( x2, y2). IMAGESIZE_W defines the bounding rectangle in window-coordinate points ( wx1, wy1) and ( wx2, wy2).
IMAGESIZE_W defines the bounding rectangle in terms of window-coordinate points ( wx1, wy1) and ( wx2, wy2).
See the example in GETIMAGE.