Saves the image to file. Open, saves and closes the file. \n
* Returns error code. \n
* Attributes from the image will be stored at the file.
*
* \verbatim im.FileImageSave(file_name: string, format: string, image: imImage) -> error: number [in Lua 5] \endverbatim
* \verbatim image:Save(file_name: string, format: string) -> error: number [in Lua 5] \endverbatim
* \ingroup imgfile
Saves the image to file. Open, saves and closes the file. \n * Returns error code. \n * Attributes from the image will be stored at the file. * * \verbatim im.FileImageSave(file_name: string, format: string, image: imImage) -> error: number [in Lua 5] \endverbatim * \verbatim image:Save(file_name: string, format: string) -> error: number [in Lua 5] \endverbatim * \ingroup imgfile