| Allegro CL version 6.2 Unrevised from 6.1 |
Arguments: pathname &key name pixmap-to-return (icon-index 0)
Reads a pixmap from any device-independent bitmap file. These are typically .bmp files. You can also load .ico (icon) files. 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-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.
| Allegro CL version 6.2 Unrevised from 6.1 |