Scol standard library package  0.3
Common and usefull functions for all Scol applications
 All Data Structures Files Functions Variables Groups Pages
Functions
Bitmap API
The OS 2D supplemental API

Functions

 lib2d_bmpLoad (sFile) let _checkpack sFile-> pFile in if pFile
 Load a bitmap from a file (PNG, JPEG, TARGA or BMP) in the current channel.
fun lib2d_bmp8Load (sFile)
 Load a 8-bits bitmap from a file (BMP only or the mask of a PNG) in the current channel.

Detailed Description

2

Function Documentation

lib2d_bmpLoad ( sFile  )

Load a bitmap from a file (PNG, JPEG, TARGA or BMP) in the current channel.

2 To load in another channel, use the Scol API directly.

Prototype : fun [S] ObjBitmap

Parameters
S: a path name
Returns
ObjBitmap : the loaded ObjBitmap or nil if error
fun lib2d_bmp8Load ( sFile  )

Load a 8-bits bitmap from a file (BMP only or the mask of a PNG) in the current channel.

2 To load in another channel, use the Scol API directly.

Prototype : fun [S] ObjBitmap8

Parameters
S: a path name
Returns
ObjBitmap8 : the loaded ObjBitmap8 or nil if error