Function
load-image gp id &key cache image-translation-table => image
A graphics port
An image identifier
A keyword
An image translation table
An image object
load-image function loads an image identified by id via the image-translation-table using the image load function registered with it. It returns animage object with the representation slot initialized. The gp argument specifies a graphics port used to identify the library. It also specifies the resource in which colors are defined and if necessary allocated for the image. If id is in the table but the translation is not an external image, and the image loader returns an external image as the second value, that external image replaces the translation in the table. The default value of image-translation-table is*default-image-translation-table*. convert-external-image function for more details.