<<

Contents

Search

>>

 

BMP_TRANSPARENTCOLOR

 

 

Instruction

 

 

Syntax:

BMP_TRANSPARENTCOLOR = <Red>,<Green>,<Blue>

 

<Red>

= <NUM-EXPRESSION>

<Green>

= <NUM-EXPRESSION>

<Blue>

= <NUM-EXPRESSION>

 

 

Meaning:

Defines the transparent color for Bitmap files (*.bmp).

 

All pixels with this color appear transparent on screen.

 

At the start of the program the color is preset to -1,-1,-1; which means that no transparency color is defined.

 

The color shares must be between 0 and 255 respectively.

 

Parameter:

Red

Red value

Green

Green value

Blue

Blue value

 

Sample:

/* Show all white pixel transparemt

BMP_TRANSPARENTCOLOR = 255,255,255

 

See also:

LOAD_PICTURE

IMAGE_TRANSPARENTCOLOR

GET_COLORS$

SET_COLORS