# E:/DevIL/src-IL/src/il_exr.c File Reference

`#include "il_internal.h"`
`#include "il_exr.h"`
`#include <zlib.h>`

## Functions

ILboolean | ilIsValidExr (ILconst_string FileName)
| Checks if the file specified in FileName is a valid EXR file.
ILboolean | ilIsValidExrF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid EXR file at the current position.
ILboolean | ilIsValidExrL (const void *Lump, ILuint Size)
| Checks if Lump is a valid EXR lump.
ILboolean | iGetExrHead (EXRHEAD *Header)
ILboolean | iIsValidExr ()
ILboolean | iCheckExr (EXRHEAD *Header)
ILboolean | ilLoadExr (ILconst_string FileName)
| Reads an EXR file.
ILboolean | ilLoadExrF (ILHANDLE File)
| Reads an already-opened EXR file.
ILboolean | ilLoadExrL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains an EXR.
ILboolean | iExrReadString (char *String, ILuint Length)
ILboolean | iLoadExrInternal ()
ILboolean | ExrGetFormatType (ILuint *Format, ILuint *Type, ILubyte *ChanOrder)

## Function Documentation

ILboolean ExrGetFormatType | ( | ILuint * | Format,
|  | ILuint * | Type,
|  | ILubyte * | ChanOrder |
| ) |  |  |

Referenced by iLoadExrInternal().

ILboolean iCheckExr | ( | EXRHEAD * | Header | ) |

Referenced by iIsValidExr(), and iLoadExrInternal().

ILboolean iExrReadString | ( | char * | String,
|  | ILuint | Length |
| ) |  |  |

Referenced by iLoadExrInternal().

ILboolean iGetExrHead | ( | EXRHEAD * | Header | ) |

Referenced by iIsValidExr(), and iLoadExrInternal().

ILboolean iIsValidExr | ( |  | ) |

Referenced by ilIsValidExrF(), and ilIsValidExrL().

ILboolean ilIsValidExr | ( | ILconst_string | FileName | ) |

Checks if the file specified in FileName is a valid EXR file.

Referenced by ilIsValid().

ILboolean ilIsValidExrF | ( | ILHANDLE | File | ) |

Checks if the ILHANDLE contains a valid EXR file at the current position.

Referenced by ilDetermineTypeF(), ilIsValidExr(), and ilIsValidF().

ILboolean ilIsValidExrL | ( | const void * | Lump,
|  | ILuint | Size |
| ) |  |  |

Checks if Lump is a valid EXR lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilLoadExr | ( | ILconst_string | FileName | ) |

Reads an EXR file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadExrF | ( | ILHANDLE | File | ) |

Reads an already-opened EXR file.

Referenced by ilLoadExr(), and ilLoadF().

ILboolean ilLoadExrL | ( | const void * | Lump,
|  | ILuint | Size |
| ) |  |  |

Reads from a memory "lump" that contains an EXR.

Referenced by ilLoadL().

ILboolean iLoadExrInternal | ( |  | ) |

Referenced by ilLoadExrF(), and ilLoadExrL().