SET IMAGE COLORKEY This command will set the general colorkey for all images.
Syntax
    SET IMAGE COLORKEY Red Value, Green Value, Blue Value
Parameters
    Red Value
Integer The red part of the colour to use has transparent
    Green Value
Integer The green part of the colour to use has transparent
    Blue Value
Integer The blue part of the colour to use has transparent
Returns
This command does not return a value.
Description
A colorkey allows you to specify a particular RGB colour that will be treated as transparent by the image when used. Transparent pixels of an image are not drawn. You must use this command before loading or grabbing an image in order that a suitable alpha map be generated from the transparent pixels of the desired image to be calculated. The alpha map is then used to decide which pixels are drawn and which pixels are never rendered. Be aware that setting the color key for the purpose of transparency will not work on images based on the PNG, TGA and DDS file format as these carry their own alpha channel and describe their own pattern of transparency.
Example Code
    set image colorkey 255,0,0

    load image "car.bmp",1

    cls

    paste image 1,100,100

    do

    loop

    end
See also
IMAGE Commands Menu Index