//! Writes a Mng to an already-opened file ILuint ilSaveMngF(ILHANDLE File) { ILuint Pos = itellw(); iSetOutputFile(File); if (iSaveMngInternal() == IL_FALSE) return 0; // Error occurred return itellw() - Pos; // Return the number of bytes written. }
ILboolean ilSaveJpegF(ILHANDLE File) { iSetOutputFile(File); return iSaveJpegInternal(); }