IMPORT_BMP@

Platform

Win32, x64

Purpose

To read in a BMP file.

Syntax

INTEGER(7) FUNCTION IMPORT_BMP@( FILENAME, ERROR )
CHARACTER(*) FILENAME
INTEGER     ERROR

Description

Reads in a BMP file and returns a DIB handle to the image. The handle can then be used with DIB_PAINT@, DIB_PRINT@ and EXPORT_BMP@. ERROR returns one of the following:


 

0

success

 

2

unable to read file

 

4

insufficient memory

 

5

not a BMP file

 

10

unable to open file


Return value

Returns a handle to the image or zero on failure.

See also

GET_SCREEN_DIB@, RELEASE_SCREEN_DIB@, IMPORT_PCX@, CLIPBOARD_TO_SCREEN_BLOCK@, IMPORT_GIF@, IMPORT_IMAGE@, IMPORT_FILE_IMAGE@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited