WinXDraw_LoadImage


hImage = WinXDraw_LoadImage (STRING fileName, fileType)

Loads an image from disk

Parameter Description
STRING fileName The name of the file to load
fileType The type of the file to load. See remarks for valid values

Returns

The handle to the image or 0 on fail

Remarks

fileType can be any one of the following constants:

$$FILETYPE_WINBMP
Windows BMP file

Examples

'load a bitmap
hImage = WinXDraw_LoadImage ("Test.bmp", $$FILETYPE_WINBMP)

Related Links

Images
WinXDrawImage
WinXDraw_DeleteImage
WinXDraw_SaveImage
WinXDraw_GetImagePixel
WinXDraw_SetConstantAlpha
WinXDraw_SetImageChannel
WinXDraw_GetImageChannel
WinXDraw_GetImageInfo
WinXDraw_CopyImage
WinXDraw_PremultiplyImage
WinXClip_GetImage