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

`#include "il_internal.h"`
`#include "il_register.h"`
`#include "il_pal.h"`
`#include <string.h>`

## Functions

ILenum ILAPIENTRY | ilTypeFromExt (ILconst_string FileName)
ILenum ILAPIENTRY | ilDetermineType (ILconst_string FileName)
ILenum ILAPIENTRY | ilDetermineTypeF (ILHANDLE File)
ILenum ILAPIENTRY | ilDetermineTypeL (const void *Lump, ILuint Size)
ILboolean ILAPIENTRY | ilIsValid (ILenum Type, ILconst_string FileName)
ILboolean ILAPIENTRY | ilIsValidF (ILenum Type, ILHANDLE File)
ILboolean ILAPIENTRY | ilIsValidL (ILenum Type, void *Lump, ILuint Size)
ILboolean ILAPIENTRY | ilLoad (ILenum Type, ILconst_string FileName)
ILboolean ILAPIENTRY | ilLoadF (ILenum Type, ILHANDLE File)
ILboolean ILAPIENTRY | ilLoadL (ILenum Type, const void *Lump, ILuint Size)
ILboolean ILAPIENTRY | ilLoadImage (ILconst_string FileName)
| Attempts to load an image with various different methods before failing - very generic.
ILboolean ILAPIENTRY | ilSave (ILenum Type, ILconst_string FileName)
ILuint ILAPIENTRY | ilSaveF (ILenum Type, ILHANDLE File)
ILuint ILAPIENTRY | ilSaveL (ILenum Type, void *Lump, ILuint Size)
ILboolean ILAPIENTRY | ilSaveImage (ILconst_string FileName)
| Determines what image type to save based on the extension and attempts to save.

## Function Documentation

ILenum ILAPIENTRY ilDetermineType | ( | ILconst_string | FileName | ) |

Referenced by ilLoadImage().

ILenum ILAPIENTRY ilDetermineTypeF | ( | ILHANDLE | File | ) |

Referenced by ilDetermineType(), and ilLoadF().

ILenum ILAPIENTRY ilDetermineTypeL | ( | const void * | Lump,
|  | ILuint | Size |
| ) |  |  |

Referenced by ilLoadL().

ILboolean ILAPIENTRY ilIsValid | ( | ILenum | Type,
|  | ILconst_string | FileName |
| ) |  |  |

Referenced by ilValidate::Valid().

ILboolean ILAPIENTRY ilIsValidF | ( | ILenum | Type,
|  | ILHANDLE | File |
| ) |  |  |

Referenced by ilValidate::Valid().

ILboolean ILAPIENTRY ilIsValidL | ( | ILenum | Type,
|  | void * | Lump,
|  | ILuint | Size |
| ) |  |  |

Referenced by ilValidate::Valid().

ILboolean ILAPIENTRY ilLoad | ( | ILenum | Type,
|  | ILconst_string | FileName |
| ) |  |  |

Referenced by ilLoadImage(), and ilImage::Load().

ILboolean ILAPIENTRY ilLoadF | ( | ILenum | Type,
|  | ILHANDLE | File |
| ) |  |  |

ILboolean ILAPIENTRY ilLoadImage | ( | ILconst_string | FileName | ) |

Attempts to load an image with various different methods before failing - very generic.

Referenced by ilImage::ilImage(), ilLoad(), iluLoadImage(), and ilImage::Load().

ILboolean ILAPIENTRY ilLoadL | ( | ILenum | Type,
|  | const void * | Lump,
|  | ILuint | Size |
| ) |  |  |

ILboolean ILAPIENTRY ilSave | ( | ILenum | Type,
|  | ILconst_string | FileName |
| ) |  |  |

Referenced by ilImage::Save().

ILuint ILAPIENTRY ilSaveF | ( | ILenum | Type,
|  | ILHANDLE | File |
| ) |  |  |

ILboolean ILAPIENTRY ilSaveImage | ( | ILconst_string | FileName | ) |

Determines what image type to save based on the extension and attempts to save.

Referenced by ilSave(), and ilImage::Save().

ILuint ILAPIENTRY ilSaveL | ( | ILenum | Type,
|  | void * | Lump,
|  | ILuint | Size |
| ) |  |  |

ILenum ILAPIENTRY ilTypeFromExt | ( | ILconst_string | FileName | ) |