| Allegro CL version 8.0 Object described on page has changed in 8.0. Moderate update since 8.0 release. | ||||||||||
Arguments: pathname &key name pixmap-to-return (icon-index 0) make-unique-name
Reads a pixmap from any device-independent bitmap file. These are typically .bmp files. You can also load .ico (icon) files on Windows, or X bitmap files on GTK. The arguments are:
nil, a unique
symbol based on the name of the file from which the pixmap was loaded
is created and used for the name.
nil or an existing pixmap object to re-use. If
nil, a new pixmap object is created and
returned. If a pixmap, the pixmap is "filled in" with the information
read from the file and then returned. This argument may be useful for
updating a pixmap object from an edited (or alternate) file while
keeping the pixmap eq to the
former version of it.
This function returns the loaded pixmap.
See also save-pixmap (which creates .bmp files) and load-lisp-pixmap (which loads a Lisp file which will recreate a pixmap).
Copyright (c) 1998-2008, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.0. The object described on this page has been modified in the 8.0 release; see the Release Notes.
Created 2007.4.30.
| Allegro CL version 8.0 Object described on page has changed in 8.0. Moderate update since 8.0 release. | ||||||||||