예제 #1
0
파일: il_mng.c 프로젝트: AlfiyaZi/DevIL
//! 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.
}
예제 #2
0
ILboolean ilSaveJpegF(ILHANDLE File)

{

	iSetOutputFile(File);

	return iSaveJpegInternal();

}