load-texture-info

Function

Package: common-graphics

Arguments: filename &optional index

Reads the bitmap file filename (usually a .bmp file but can be an .ico or even a .dll file) and returns the texture-info structure that reflects the size, bits-per-pixel, and colormap of the pixmap in the file. When reading from a .dll file that contains multiple bitmaps, index can be passed to specify the bitmap of interest in the file. The texture-info returned is the same as the second value returned by load-texture, but this function is much faster if all you want is the texture-info.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.