## wb_load_image

int wb_load_image (string filename [, int index [, int param]])

Loads the image, icon or cursor file filename from disk and returns a handle to it. If filename is an icon library, index specifies the index of the image inside the file. Default index is 0.

If source is an icon or a cursor, if param is 0 (the default), the function returns a large icon or cursor; if param is 1, it returns a small icon or cursor; if param is -1, the function returns the default icon or cursor.

NOTE: The resulting image must be destroyed by a call to wb_destroy_image().

# See also

wb_create_image
wb_destroy_image
Image functions