Example #1
0
ILboolean ilIsValidJpgL(const ILvoid *Lump, ILuint Size)

{

	iSetInputLump(Lump, Size);

	return iIsValidJpg();

}
Example #2
0
//! Checks if the ILHANDLE contains a valid .jpg file at the current position.
ILboolean ilIsValidJpgF(ILHANDLE File)
{
	ILuint		FirstPos;
	ILboolean	bRet;

	iSetInputFile(File);
	FirstPos = itell();
	bRet = iIsValidJpg();
	iseek(FirstPos, IL_SEEK_SET);

	return bRet;
}