Checks if the ILHANDLE contains a valid .jpg file at the current position.
| 129 | |
| 130 | //! Checks if the ILHANDLE contains a valid .jpg file at the current position. |
| 131 | ILboolean ilIsValidJpegF(ILHANDLE File) |
| 132 | { |
| 133 | ILuint FirstPos; |
| 134 | ILboolean bRet; |
| 135 | |
| 136 | iSetInputFile(File); |
| 137 | FirstPos = itell(); |
| 138 | bRet = iIsValidJpeg(); |
| 139 | iseek(FirstPos, IL_SEEK_SET); |
| 140 | |
| 141 | return bRet; |
| 142 | } |
| 143 | |
| 144 | |
| 145 | ILboolean ilIsValidJpegL(const void *Lump, ILuint Size) |
no test coverage detected