Loads an image region 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. \n
* For now, it works only for the ECW file format.
*
* \verbatim im.FileImageLoadRegion(file_name: string, index, bitmap, xmin, xmax, ymin, ymax, width, height: number, ) -> image: imImage, error: number [in Lua 5] \endverbatim
* Default index is 0.
* \ingroup imgfile
Loads an image region 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. \n * For now, it works only for the ECW file format. * * \verbatim im.FileImageLoadRegion(file_name: string, index, bitmap, xmin, xmax, ymin, ymax, width, height: number, ) -> image: imImage, error: number [in Lua 5] \endverbatim * Default index is 0. * \ingroup imgfile