Intel® Fortran Compiler 17.0 Developer Guide and Reference
Graphics Functions: Read an image from a Windows bitmap file and display it at a specified location.
USE IFQWIN
result = LOADIMAGE (filename,xcoord,ycoord)
result = LOADIMAGE_W (filename,wxcoord,wycoord)
filename |
(Input) Character*(*). Path of the bitmap file. |
xcoord, ycoord |
(Input) INTEGER(4). Viewport coordinates for upper-left corner of image display. |
wxcoord, wycoord |
(Input) REAL(8). Window coordinates for upper-left corner of image display. |
The result type is INTEGER(4). The result is zero if successful; otherwise, a negative value.
The image is displayed with the colors in the bitmap file. If the color palette in the bitmap file is different from the current system palette, the current palette is discarded and the bitmap's palette is loaded.
LOADIMAGE specifies the screen placement of the image in viewport coordinates. LOADIMAGE_W specifies the screen placement of the image in window coordinates.