Checks if the ILHANDLE contains a valid EXR file at the current position.
| 68 | |
| 69 | //! Checks if the ILHANDLE contains a valid EXR file at the current position. |
| 70 | ILboolean ilIsValidExrF(ILHANDLE File) |
| 71 | { |
| 72 | ILuint FirstPos; |
| 73 | ILboolean bRet; |
| 74 | |
| 75 | iSetInputFile(File); |
| 76 | FirstPos = itell(); |
| 77 | bRet = iIsValidExr(); |
| 78 | iseek(FirstPos, IL_SEEK_SET); |
| 79 | |
| 80 | return bRet; |
| 81 | } |
| 82 | |
| 83 | |
| 84 | //! Checks if Lump is a valid EXR lump. |
no test coverage detected