Opens the file for reading using a specific format. It must exists. Also reads file header.
* See also \ref imErrorCodes and \ref format.
*
* \verbatim im.FileOpenAs(file_name, format: string) -> ifile: imFile, error: number [in Lua 5] \endverbatim
* \ingroup file
Opens the file for reading using a specific format. It must exists. Also reads file header. * See also \ref imErrorCodes and \ref format. * * \verbatim im.FileOpenAs(file_name, format: string) -> ifile: imFile, error: number [in Lua 5] \endverbatim * \ingroup file