Bitmap.load

Function/Meaning
Loading images
Type
Method of the Bitmap class
Syntax
load(image, colorkey=clNone)
Arguments
image Specifies the image storage to load.
colorkey Specifies the color key (transparent color) for the image being loaded.
If a color is specified in 0xRRGGBB format, that color is used as the color key.
If a value consisting of clPalIdx plus an arbitrary palette index is specified, that palette index becomes the transparent color (for images with 256 colors or fewer).
If clAdapt is specified, the most frequently used color in the top line of the image automatically becomes the transparent color.
If a value consisting of clAlphaMat plus a color in 0xRRGGBB format is specified, the image is overlaid on that color using alpha blending (ltAlpha method). For example, if (clAlphaMat + 0xffffff) is specified, the loaded image is overlaid on white. The image will become completely opaque (Note that while the image becomes opaque, the tag information is not modified at all in this mode).
Return Value
Dictionary array of tag information
Description
Loads an image.
Returns a dictionary array of tag information (information about the image itself, such as layer type and display position).
Returns null if the image does not have tag information.
In the current version, only PNG and TLG5/6 formats can contain tag information. For information that can be retrieved, please refer to the Image Format Converter.