imFileImageLoad

Loads an image from file. 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.FileImageLoad(file_name: string, [index: number]) -> image: imImage, error: number [in Lua 5] \endverbatim * Default index is 0. * \ingroup imgfile

version(IM)
@nogc nothrow extern (C)
imFileImageLoad
(
const(char)* file_name
,
int index
,
int* error
)

Meta