Project

General

Profile

Scol standard library package  0.3.1
Common and usefull functions for all Scol applications

Functions

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

Detailed Description

Package to load : lib/2dos/bitmap.pkg

Function Documentation

lib2d_bmpLoad ( sFile  )

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

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
lib2d_bmp8Load ( sFile  )

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

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