imFileLoadImageFrame

Loads an image from an already open file. Returns NULL if failed. \n * This function assumes that the image in the file has the same parameters as the given image. \n * This will call \ref imFileReadImageInfo and \ref imFileReadImageData. \n * index specifies the image number between 0 and image_count-1. \n * The returned image will be of the same color_space and data_type of the image in the file. \n * Attributes from the file will be stored at the image. * See also \ref imErrorCodes. * * \verbatim ifile:LoadImageFrame(index: number, image: imImage) -> error: number [in Lua 5] \endverbatim * Default index is 0. * \ingroup imgfile

version(IM)
@nogc nothrow extern (C)
void
imFileLoadImageFrame

Meta