Creates a new file for writing using a specific format. If the file exists will be replaced. \n
* It will only initialize the format driver and create the file, no data is actually written.
* See also \ref imErrorCodes and \ref format.
*
* \verbatim im.FileNew(file_name: string, format: string) -> ifile: imFile, error: number [in Lua 5] \endverbatim
* \ingroup file
Creates a new file for writing using a specific format. If the file exists will be replaced. \n * It will only initialize the format driver and create the file, no data is actually written. * See also \ref imErrorCodes and \ref format. * * \verbatim im.FileNew(file_name: string, format: string) -> ifile: imFile, error: number [in Lua 5] \endverbatim * \ingroup file