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

`#include "il_internal.h"`
`#include "il_exr.h"`
`#include <ImfRgba.h>`
`#include <ImfArray.h>`
`#include <ImfRgbaFile.h>`

## Defines

#define | HALF_EXPORTS

## 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 | iLoadExrInternal ()
ILboolean | ilSaveExr (const ILstring FileName)
| Writes a Exr file.
ILuint | ilSaveExrF (ILHANDLE File)
| Writes a Exr to an already-opened file.
ILuint | ilSaveExrL (void *Lump, ILuint Size)
| Writes a Exr to a memory "lump".
ILboolean | iSaveExrInternal ()

## Define Documentation

#define HALF_EXPORTS

## Function Documentation

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

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

ILboolean iIsValidExr | ( |  | ) |

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 ilLoadExr | ( | ILconst_string | FileName | ) |

Reads an .exr file.

Reads an EXR file.

ILboolean ilLoadExrF | ( | ILHANDLE | File | ) |

Reads an already-opened .exr file.

Reads an already-opened EXR file.

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

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

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

ILboolean iLoadExrInternal | ( |  | ) |

ILboolean ilSaveExr | ( | const ILstring | FileName | ) |

Writes a Exr file.

Referenced by ilSave(), and ilSaveImage().

ILuint ilSaveExrF | ( | ILHANDLE | File | ) |

Writes a Exr to an already-opened file.

Referenced by ilSaveExr(), and ilSaveF().

ILuint ilSaveExrL | ( | void * | Lump,
|  | ILuint | Size |
| ) |  |  |

Writes a Exr to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILboolean iSaveExrInternal | ( |  | ) |

Referenced by ilSaveExrF(), and ilSaveExrL().