NextPrevUpTopContentsIndex

12.8.3 Registering images

One way to load an image is via a registered image identifier.

To establish a registered image identifer call register-image-translation :

(gp:register-image-translation
 'info-image
  (gp:read-external-image "info.bmp"
                          :transparent-color-index 7))

You can then do:

(gp:load-image port 'info-image)

to obtain the image object.


LispWorks CAPI User Guide (Windows version) - 14 Jun 2006

NextPrevUpTopContentsIndex