imFileImageLoadBitmap

Loads an image from file, but forces the image to be a bitmap. Open, loads and closes the file. \n * index specifies the image number between 0 and image_count-1. \n * Returns NULL if failed. * Attributes from the file will be stored at the image. * See also \ref imErrorCodes. * * \verbatim im.FileImageLoadBitmap(file_name: string, [index: number]) -> image: imImage, error: number [in Lua 5] \endverbatim * Default index is 0. * \ingroup imgfile

extern (C) @safe nothrow
imFileImageLoadBitmap
(
const(char)* file_name
,
int index
,
int* error
)

Meta