hImage = MImgLoadEmpty( nWidth, nHeight, nColor, nBpp, nType )

Loads an empty image.

Parameters
nWidth
Number: Image width

nHeight
Number: Image height

nColor
Number: Initial pixel color

nBpp
Number: The desired color depth:

1

Monochrome

4

16 colors

8

256 colors

24

True color

nType
Number: One of the supported image types.

Return
Number: Handle of the image or 0 if an error occurs

Example

Set hImage = MImgLoadEmpty( 32, 32, COLOR_White, 24, MIMG_TYPE_BMP )

See also
Load functions

Created with the Personal Edition of HelpNDoc: Free Kindle producer