![[index]](../icons/index.gif)
Next: ok?
Up: bitmap
Previous: is-color?
Loads a bitmap from a file. If the bitmap is in use by a
bitmap-dc% object or a control, the bitmap file is not
loaded.
- (send a-bitmap load-file name kind) -> boolean
name : string
kind = 'unknown : symbol in '(unknown gif xbm xpm bmp pict)
The kind parameter:
- 'unknown -- examine the file to determine its type
- 'gif -- load a GIF bitmap file (X, Windows, MacOS)
- 'xbm -- load an X bitmap file (X, Windows, MacOS); creates a monochrome bitmap
- 'xpm -- load an XPM bitmap file (X, Windows, MacOS)
- 'bmp -- load a Windows bitmap file (X, Windows, MacOS)
- 'pict -- load a PICT bitmap file (MacOS)
PLT