bmap_to_format(BMAP* bmap,var format)

Converts a bmap to a given color format.

Parameters:

bmap - bitmap to be converted.
format - the target format (see bmap_lock).

Returns:

0 if the conversion failed, bmap otherwise

Speed:

Slow

Edition:

 C   P 

Remarks:

See also:

bmap_lock, view.bmap ► latest version online