| 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). |