# E:/DevIL/src-IL/include/il_internal.h File Reference

`#include <IL/config.h>`
`#include <stdlib.h>`
`#include <stdio.h>`
`#include <math.h>`
`#include <string.h>`
`#include <IL/il.h>`
`#include <IL/devil_internal_exports.h>`
`#include "il_files.h"`
`#include "il_endian.h"`

Go to the source code of this file.

## Defines

#define | _IL_BUILD_LIBRARY
#define | IL_TEXT(s) (s)
#define | iStrCpy strcpy
#define | BIT_0 0x00000001
#define | BIT_1 0x00000002
#define | BIT_2 0x00000004
#define | BIT_3 0x00000008
#define | BIT_4 0x00000010
#define | BIT_5 0x00000020
#define | BIT_6 0x00000040
#define | BIT_7 0x00000080
#define | BIT_8 0x00000100
#define | BIT_9 0x00000200
#define | BIT_10 0x00000400
#define | BIT_11 0x00000800
#define | BIT_12 0x00001000
#define | BIT_13 0x00002000
#define | BIT_14 0x00004000
#define | BIT_15 0x00008000
#define | BIT_16 0x00010000
#define | BIT_17 0x00020000
#define | BIT_18 0x00040000
#define | BIT_19 0x00080000
#define | BIT_20 0x00100000
#define | BIT_21 0x00200000
#define | BIT_22 0x00400000
#define | BIT_23 0x00800000
#define | BIT_24 0x01000000
#define | BIT_25 0x02000000
#define | BIT_26 0x04000000
#define | BIT_27 0x08000000
#define | BIT_28 0x10000000
#define | BIT_29 0x20000000
#define | BIT_30 0x40000000
#define | BIT_31 0x80000000
#define | NUL '\0'
#define | IL_TGACOMP 0x01
#define | IL_PCXCOMP 0x02
#define | IL_SGICOMP 0x03
#define | IL_BMPCOMP 0x04

## Functions

int | stricmp (const char *src1, const char *src2)
int | strnicmp (const char *src1, const char *src2, size_t max)
int | iStrCmp (ILconst_string src1, ILconst_string src2)
int | iSqrt (int x)
ILboolean | iCheckExtension (ILconst_string Arg, ILconst_string Ext)
ILbyte * | iFgets (char *buffer, ILuint maxlen)
ILboolean | iFileExists (ILconst_string FileName)
ILstring | iGetExtension (ILconst_string FileName)
ILstring | ilStrDup (ILconst_string Str)
| Glut's portability.txt says to use this...
ILuint | ilStrLen (ILconst_string Str)
ILuint | ilCharStrLen (const char *Str)
void | ilDefaultStates (void)
| Set all states to their defaults.
ILenum | iGetHint (ILenum Target)
ILint | iGetInt (ILenum Mode)
void | ilRemoveRegistered (void)
ILAPI void ILAPIENTRY | ilSetCurImage (ILimage *Image)
ILuint | ilDetermineSize (ILenum Type)
| Returns the size of the memory buffer needed to save the current image into this Type.
ILboolean | ilRleCompressLine (ILubyte *ScanLine, ILuint Width, ILubyte Bpp, ILubyte *Dest, ILuint *DestWidth, ILenum CompressMode)
ILuint | ilRleCompress (ILubyte *Data, ILuint Width, ILuint Height, ILuint Depth, ILubyte Bpp, ILubyte *Dest, ILenum CompressMode, ILuint *ScanTable)
void | iSetImage0 (void)
ILuint | ilNVidiaCompressDXTFile (ILubyte *Data, ILuint Width, ILuint Height, ILuint Depth, ILenum DxtType)
ILAPI ILubyte *ILAPIENTRY | ilNVidiaCompressDXT (ILubyte *Data, ILuint Width, ILuint Height, ILuint Depth, ILenum DxtFormat, ILuint *DxtSize)
ILAPI ILubyte *ILAPIENTRY | ilSquishCompressDXT (ILubyte *Data, ILuint Width, ILuint Height, ILuint Depth, ILenum DxtFormat, ILuint *DxtSize)
ILboolean | ilAddAlpha (void)
ILboolean | ilAddAlphaKey (ILimage *Image)
ILboolean | iFastConvert (ILenum DestFormat)
ILboolean | ilFixCur (void)
ILboolean | ilFixImage (void)
ILboolean | ilRemoveAlpha (void)
ILboolean | ilSwapColours (void)
char * | iGetString (ILenum StringName)
ILboolean | ilIsValidBmp (ILconst_string CONST_RESTRICT FileName)
| Checks if the file specified in FileName is a valid .bmp file.
ILboolean | ilIsValidBmpF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid .bmp file at the current position.
ILboolean | ilIsValidBmpL (const void *Lump, const ILuint Size)
| Checks if Lump is a valid .bmp lump.
ILboolean | ilLoadBmp (ILconst_string FileName)
| Reads a .bmp file.
ILboolean | ilLoadBmpF (ILHANDLE File)
| Reads an already-opened .bmp file.
ILboolean | ilLoadBmpL (const void *Lump, const ILuint Size)
| Reads from a memory "lump" that contains a .bmp.
ILboolean | ilSaveBmp (ILconst_string FileName)
ILuint | ilSaveBmpF (ILHANDLE File)
| Writes a Bmp to an already-opened file.
ILuint | ilSaveBmpL (void *Lump, ILuint Size)
| Writes a Bmp to a memory "lump".
ILboolean | ilSaveCHeader (ILconst_string FileName, char *InternalName)
| Generates a C-style header file for the current image.
ILboolean | ilLoadCut (ILconst_string FileName)
| Reads a .cut file.
ILboolean | ilLoadCutF (ILHANDLE File)
| Reads an already-opened .cut file.
ILboolean | ilLoadCutL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .cut.
ILboolean | ilIsValidDcx (ILconst_string FileName)
| Checks if the file specified in FileName is a valid .dcx file.
ILboolean | ilIsValidDcxF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid .dcx file at the current position.
ILboolean | ilIsValidDcxL (const void *Lump, ILuint Size)
| Checks if Lump is a valid .dcx lump.
ILboolean | ilLoadDcx (ILconst_string FileName)
| Reads a .dcx file.
ILboolean | ilLoadDcxF (ILHANDLE File)
| Reads an already-opened .dcx file.
ILboolean | ilLoadDcxL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .dcx.
ILboolean | ilIsValidDds (ILconst_string FileName)
| Checks if the file specified in FileName is a valid .dds file.
ILboolean | ilIsValidDdsF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid .dds file at the current position.
ILboolean | ilIsValidDdsL (const void *Lump, ILuint Size)
| Checks if Lump is a valid .dds lump.
ILboolean | ilLoadDds (ILconst_string FileName)
| Reads a .dds file.
ILboolean | ilLoadDdsF (ILHANDLE File)
| Reads an already-opened .dds file.
ILboolean | ilLoadDdsL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .dds.
ILboolean | ilSaveDds (ILconst_string FileName)
ILuint | ilSaveDdsF (ILHANDLE File)
| Writes a Dds to an already-opened file.
ILuint | ilSaveDdsL (void *Lump, ILuint Size)
| Writes a Dds to a memory "lump".
ILboolean | ilLoadDoom (ILconst_string FileName)
| Reads a Doom file.
ILboolean | ilLoadDoomF (ILHANDLE File)
| Reads an already-opened Doom file.
ILboolean | ilLoadDoomL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a Doom texture.
ILboolean | ilLoadDoomFlat (ILconst_string FileName)
| Reads a Doom flat file.
ILboolean | ilLoadDoomFlatF (ILHANDLE File)
| Reads an already-opened Doom flat file.
ILboolean | ilLoadDoomFlatL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a Doom flat.
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.
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 | ilSaveExr (ILconst_string FileName)
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 | ilIsValidGif (ILconst_string FileName)
| Checks if the file specified in FileName is a valid Gif file.
ILboolean | ilIsValidGifF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid Gif file at the current position.
ILboolean | ilIsValidGifL (const void *Lump, ILuint Size)
| Checks if Lump is a valid Gif lump.
ILboolean | ilLoadGif (ILconst_string FileName)
| Reads a Gif file.
ILboolean | ilLoadGifF (ILHANDLE File)
| Reads an already-opened Gif file.
ILboolean | ilLoadGifL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a Gif.
ILboolean | ilIsValidHdr (ILconst_string FileName)
| Checks if the file specified in FileName is a valid .hdr file.
ILboolean | ilIsValidHdrF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid .hdr file at the current position.
ILboolean | ilIsValidHdrL (const void *Lump, ILuint Size)
| Checks if Lump is a valid .hdr lump.
ILboolean | ilLoadHdr (ILconst_string FileName)
| Reads a .hdr file.
ILboolean | ilLoadHdrF (ILHANDLE File)
| Reads an already-opened .hdr file.
ILboolean | ilLoadHdrL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .hdr.
ILboolean | ilSaveHdr (ILconst_string FileName)
ILuint | ilSaveHdrF (ILHANDLE File)
| Writes a Hdr to an already-opened file.
ILuint | ilSaveHdrL (void *Lump, ILuint Size)
| Writes a Hdr to a memory "lump".
ILboolean | ilLoadIcon (ILconst_string FileName)
| Reads an icon file.
ILboolean | ilLoadIconF (ILHANDLE File)
| Reads an already-opened icon file.
ILboolean | ilLoadIconL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains an icon.
ILboolean | ilIsValidIcns (ILconst_string FileName)
| Checks if the file specified in FileName is a valid .icns file.
ILboolean | ilIsValidIcnsF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid .icns file at the current position.
ILboolean | ilIsValidIcnsL (const void *Lump, ILuint Size)
| Checks if Lump is a valid .icns lump.
ILboolean | ilLoadIcns (ILconst_string FileName)
| Reads an icon file.
ILboolean | ilLoadIcnsF (ILHANDLE File)
| Reads an already-opened icon file.
ILboolean | ilLoadIcnsL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains an icon.
ILboolean | ilLoadIff (ILconst_string FileName)
ILboolean | ilLoadIffF (ILHANDLE File)
| Reads an already-opened IFF file.
ILboolean | ilLoadIffL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a IFF.
ILboolean | ilIsValidJp2 (ILconst_string FileName)
| Checks if the file specified in FileName is a valid .jp2 file.
ILboolean | ilIsValidJp2F (ILHANDLE File)
| Checks if the ILHANDLE contains a valid .jp2 file at the current position.
ILboolean | ilIsValidJp2L (const void *Lump, ILuint Size)
| Checks if Lump is a valid .jp2 lump.
ILboolean | ilLoadJp2 (ILconst_string FileName)
| Reads a Jpeg2000 file.
ILboolean | ilLoadJp2F (ILHANDLE File)
| Reads an already-opened Jpeg2000 file.
ILboolean | ilLoadJp2L (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a Jpeg2000 stream.
ILboolean | ilLoadJp2LInternal (const void *Lump, ILuint Size, ILimage *Image)
| This is separated so that it can be called for other file types, such as .icns.
ILboolean | ilSaveJp2 (ILconst_string FileName)
ILuint | ilSaveJp2F (ILHANDLE File)
| Writes a Jp2 to an already-opened file.
ILuint | ilSaveJp2L (void *Lump, ILuint Size)
| Writes a Jp2 to a memory "lump".
ILboolean | ilIsValidJpeg (ILconst_string FileName)
| Checks if the file specified in FileName is a valid .jpg file.
ILboolean | ilIsValidJpegF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid .jpg file at the current position.
ILboolean | ilIsValidJpegL (const void *Lump, ILuint Size)
ILboolean | ilLoadJpeg (ILconst_string FileName)
| Reads a jpeg file.
ILboolean | ilLoadJpegF (ILHANDLE File)
| Reads an already-opened jpeg file.
ILboolean | ilLoadJpegL (const void *Lump, ILuint Size)
ILboolean | ilSaveJpeg (ILconst_string FileName)
ILuint | ilSaveJpegF (ILHANDLE File)
| Writes a Jpeg to an already-opened file.
ILuint | ilSaveJpegL (void *Lump, ILuint Size)
| Writes a Jpeg to a memory "lump".
ILboolean | ilIsValidLif (ILconst_string FileName)
| Checks if the file specified in FileName is a valid Lif file.
ILboolean | ilIsValidLifF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid Lif file at the current position.
ILboolean | ilIsValidLifL (const void *Lump, ILuint Size)
| Checks if Lump is a valid Lif lump.
ILboolean | ilLoadLif (ILconst_string FileName)
| Reads a .Lif file.
ILboolean | ilLoadLifF (ILHANDLE File)
| Reads an already-opened .Lif file.
ILboolean | ilLoadLifL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .Lif.
ILboolean | ilIsValidMdl (ILconst_string FileName)
| Checks if the file specified in FileName is a valid MDL file.
ILboolean | ilIsValidMdlF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid MDL file at the current position.
ILboolean | ilIsValidMdlL (const void *Lump, ILuint Size)
| Checks if Lump is a valid MDL lump.
ILboolean | ilLoadMdl (ILconst_string FileName)
| Reads a .mdl file.
ILboolean | ilLoadMdlF (ILHANDLE File)
| Reads an already-opened .mdl file.
ILboolean | ilLoadMdlL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .mdl.
ILboolean | ilLoadMng (ILconst_string FileName)
ILboolean | ilLoadMngF (ILHANDLE File)
ILboolean | ilLoadMngL (const void *Lump, ILuint Size)
ILboolean | ilSaveMng (ILconst_string FileName)
ILuint | ilSaveMngF (ILHANDLE File)
| Writes a Mng to an already-opened file.
ILuint | ilSaveMngL (void *Lump, ILuint Size)
| Writes a Mng to a memory "lump".
ILboolean | ilLoadPcd (ILconst_string FileName)
| Reads a .pcd file.
ILboolean | ilLoadPcdF (ILHANDLE File)
| Reads an already-opened .pcd file.
ILboolean | ilLoadPcdL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .pcd file.
ILboolean | ilIsValidPcx (ILconst_string FileName)
| Checks if the file specified in FileName is a valid .pcx file.
ILboolean | ilIsValidPcxF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid .pcx file at the current position.
ILboolean | ilIsValidPcxL (const void *Lump, ILuint Size)
| Checks if Lump is a valid .pcx lump.
ILboolean | ilLoadPcx (ILconst_string FileName)
| Reads a .pcx file.
ILboolean | ilLoadPcxF (ILHANDLE File)
| Reads an already-opened .pcx file.
ILboolean | ilLoadPcxL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .pcx.
ILboolean | ilSavePcx (ILconst_string FileName)
ILuint | ilSavePcxF (ILHANDLE File)
| Writes a .pcx to an already-opened file.
ILuint | ilSavePcxL (void *Lump, ILuint Size)
| Writes a .pcx to a memory "lump".
ILboolean | ilIsValidPic (ILconst_string FileName)
| Checks if the file specified in FileName is a valid .pic file.
ILboolean | ilIsValidPicF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid .pic file at the current position.
ILboolean | ilIsValidPicL (const void *Lump, ILuint Size)
| Checks if Lump is a valid .pic lump.
ILboolean | ilLoadPic (ILconst_string FileName)
| Reads a .pic file.
ILboolean | ilLoadPicF (ILHANDLE File)
| Reads an already-opened .pic file.
ILboolean | ilLoadPicL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .pic.
ILboolean | ilLoadPix (ILconst_string FileName)
| Reads a Pix file.
ILboolean | ilLoadPixF (ILHANDLE File)
| Reads an already-opened Pix file.
ILboolean | ilLoadPixL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a Pix.
ILboolean | ilIsValidPng (ILconst_string FileName)
ILboolean | ilIsValidPngF (ILHANDLE File)
ILboolean | ilIsValidPngL (const void *Lump, ILuint Size)
ILboolean | ilLoadPng (ILconst_string FileName)
ILboolean | ilLoadPngF (ILHANDLE File)
ILboolean | ilLoadPngL (const void *Lump, ILuint Size)
ILboolean | ilSavePng (ILconst_string FileName)
ILuint | ilSavePngF (ILHANDLE File)
| Writes a Png to an already-opened file.
ILuint | ilSavePngL (void *Lump, ILuint Size)
| Writes a Png to a memory "lump".
ILboolean | ilIsValidPnm (ILconst_string FileName)
| Checks if the file specified in FileName is a valid .pnm file.
ILboolean | ilIsValidPnmF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid .pnm file at the current position.
ILboolean | ilIsValidPnmL (const void *Lump, ILuint Size)
| Checks if Lump is a valid .pnm lump.
ILboolean | ilLoadPnm (ILconst_string FileName)
ILboolean | ilLoadPnmF (ILHANDLE File)
ILboolean | ilLoadPnmL (const void *Lump, ILuint Size)
ILboolean | ilSavePnm (ILconst_string FileName)
ILuint | ilSavePnmF (ILHANDLE File)
| Writes a Pnm to an already-opened file.
ILuint | ilSavePnmL (void *Lump, ILuint Size)
| Writes a Pnm to a memory "lump".
ILboolean | ilIsValidPsd (ILconst_string FileName)
| Checks if the file specified in FileName is a valid Psd file.
ILboolean | ilIsValidPsdF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid Psd file at the current position.
ILboolean | ilIsValidPsdL (const void *Lump, ILuint Size)
| Checks if Lump is a valid Psd lump.
ILboolean | ilLoadPsd (ILconst_string FileName)
| Reads a Psd file.
ILboolean | ilLoadPsdF (ILHANDLE File)
| Reads an already-opened Psd file.
ILboolean | ilLoadPsdL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a Psd.
ILboolean | ilSavePsd (ILconst_string FileName)
ILuint | ilSavePsdF (ILHANDLE File)
| Writes a Psd to an already-opened file.
ILuint | ilSavePsdL (void *Lump, ILuint Size)
| Writes a Psd to a memory "lump".
ILboolean | ilIsValidPsp (ILconst_string FileName)
| Checks if the file specified in FileName is a valid Psp file.
ILboolean | ilIsValidPspF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid Psp file at the current position.
ILboolean | ilIsValidPspL (const void *Lump, ILuint Size)
| Checks if Lump is a valid Psp lump.
ILboolean | ilLoadPsp (ILconst_string FileName)
| Reads a PSP file.
ILboolean | ilLoadPspF (ILHANDLE File)
| Reads an already-opened PSP file.
ILboolean | ilLoadPspL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a PSP.
ILboolean | ilLoadPxr (ILconst_string FileName)
| Reads a Pxr file.
ILboolean | ilLoadPxrF (ILHANDLE File)
| Reads an already-opened Pxr file.
ILboolean | ilLoadPxrL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a Pxr.
ILboolean | ilLoadRaw (ILconst_string FileName)
| Reads a raw file.
ILboolean | ilLoadRawF (ILHANDLE File)
| Reads an already-opened raw file.
ILboolean | ilLoadRawL (const void *Lump, ILuint Size)
| Reads from a raw memory "lump".
ILboolean | ilSaveRaw (ILconst_string FileName)
ILuint | ilSaveRawF (ILHANDLE File)
| Writes Raw to an already-opened file.
ILuint | ilSaveRawL (void *Lump, ILuint Size)
| Writes Raw to a memory "lump".
ILboolean | ilIsValidSgi (ILconst_string FileName)
ILboolean | ilIsValidSgiF (ILHANDLE File)
ILboolean | ilIsValidSgiL (const void *Lump, ILuint Size)
| Checks if Lump is a valid .sgi lump.
ILboolean | ilLoadSgi (ILconst_string FileName)
ILboolean | ilLoadSgiF (ILHANDLE File)
ILboolean | ilLoadSgiL (const void *Lump, ILuint Size)
ILboolean | ilSaveSgi (ILconst_string FileName)
ILuint | ilSaveSgiF (ILHANDLE File)
| Writes a Sgi to an already-opened file.
ILuint | ilSaveSgiL (void *Lump, ILuint Size)
| Writes a Sgi to a memory "lump".
ILboolean | ilIsValidSun (ILconst_string FileName)
| Checks if the file specified in FileName is a valid Sun file.
ILboolean | ilIsValidSunF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid Sun file at the current position.
ILboolean | ilIsValidSunL (const void *Lump, ILuint Size)
| Checks if Lump is a valid Sun lump.
ILboolean | ilLoadSun (ILconst_string FileName)
ILboolean | ilLoadSunF (ILHANDLE File)
| Reads an already-opened Sun file.
ILboolean | ilLoadSunL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a Sun.
ILboolean | ilIsValidTga (ILconst_string FileName)
| Checks if the file specified in FileName is a valid Targa file.
ILboolean | ilIsValidTgaF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid Targa file at the current position.
ILboolean | ilIsValidTgaL (const void *Lump, ILuint Size)
| Checks if Lump is a valid Targa lump.
ILboolean | ilLoadTarga (ILconst_string FileName)
| Reads a Targa file.
ILboolean | ilLoadTargaF (ILHANDLE File)
| Reads an already-opened Targa file.
ILboolean | ilLoadTargaL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a Targa.
ILboolean | ilSaveTarga (ILconst_string FileName)
ILuint | ilSaveTargaF (ILHANDLE File)
| Writes a Targa to an already-opened file.
ILuint | ilSaveTargaL (void *Lump, ILuint Size)
| Writes a Targa to a memory "lump".
ILboolean | ilIsValidTiff (ILconst_string FileName)
| Checks if the file specified in FileName is a valid tiff file.
ILboolean | ilIsValidTiffF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid tiff file at the current position.
ILboolean | ilIsValidTiffL (const void *Lump, ILuint Size)
| Checks if Lump is a valid Tiff lump.
ILboolean | ilLoadTiff (ILconst_string FileName)
| Reads a Tiff file.
ILboolean | ilLoadTiffF (ILHANDLE File)
| Reads an already-opened Tiff file.
ILboolean | ilLoadTiffL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a Tiff.
ILboolean | ilSaveTiff (ILconst_string FileName)
ILuint | ilSaveTiffF (ILHANDLE File)
| Writes a Tiff to an already-opened file.
ILuint | ilSaveTiffL (void *Lump, ILuint Size)
| Writes a Tiff to a memory "lump".
ILboolean | ilIsValidTpl (ILconst_string FileName)
| Checks if the file specified in FileName is a valid TPL file.
ILboolean | ilIsValidTplF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid TPL file at the current position.
ILboolean | ilIsValidTplL (const void *Lump, ILuint Size)
| Checks if Lump is a valid TPL lump.
ILboolean | ilLoadTpl (ILconst_string FileName)
| Reads a TPL file.
ILboolean | ilLoadTplF (ILHANDLE File)
| Reads an already-opened TPL file.
ILboolean | ilLoadTplL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a TPL.
ILboolean | ilIsValidVtf (ILconst_string FileName)
| Checks if the file specified in FileName is a valid VTF file.
ILboolean | ilIsValidVtfF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid VTF file at the current position.
ILboolean | ilIsValidVtfL (const void *Lump, ILuint Size)
| Checks if Lump is a valid VTF lump.
ILboolean | ilLoadVtf (ILconst_string FileName)
| Reads a VTF file.
ILboolean | ilLoadVtfF (ILHANDLE File)
| Reads an already-opened VTF file.
ILboolean | ilLoadVtfL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a VTF.
ILboolean | ilLoadWal (ILconst_string FileName)
| Reads a .wal file.
ILboolean | ilLoadWalF (ILHANDLE File)
| Reads an already-opened .wal file.
ILboolean | ilLoadWalL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .wal file.
ILboolean | ilLoadWbmp (ILconst_string FileName)
ILboolean | ilLoadWbmpF (ILHANDLE File)
| Reads an already-opened .wbmp file.
ILboolean | ilLoadWbmpL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a .wbmp.
ILboolean | ilSaveWbmp (ILconst_string FileName)
ILuint | ilSaveWbmpF (ILHANDLE File)
| Writes a .wbmp to an already-opened file.
ILuint | ilSaveWbmpL (void *Lump, ILuint Size)
| Writes a .wbmp to a memory "lump".
ILboolean | ilIsValidWdp (ILconst_string FileName)
| Checks if the file specified in FileName is a valid Wdp file.
ILboolean | ilIsValidWdpF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid Wdp file at the current position.
ILboolean | ilIsValidWdpL (const void *Lump, ILuint Size)
| Checks if Lump is a valid Wdp lump.
ILboolean | ilLoadWdp (ILconst_string FileName)
| Reads a WDP file.
ILboolean | ilLoadWdpF (ILHANDLE File)
| Reads an already-opened WDP file.
ILboolean | ilLoadWdpL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains a WDP image.
ILboolean | ilIsValidXpm (ILconst_string FileName)
| Checks if the file specified in FileName is a valid XPM file.
ILboolean | ilIsValidXpmF (ILHANDLE File)
| Checks if the ILHANDLE contains a valid XPM file at the current position.
ILboolean | ilIsValidXpmL (const void *Lump, ILuint Size)
| Checks if Lump is a valid XPM lump.
ILboolean | ilLoadXpm (ILconst_string FileName)
ILboolean | ilLoadXpmF (ILHANDLE File)
| Reads an already-opened .xpm file.
ILboolean | ilLoadXpmL (const void *Lump, ILuint Size)
| Reads from a memory "lump" that contains an .xpm.

## Variables

ILimage * | iCurImage

## Define Documentation

#define _IL_BUILD_LIBRARY

#define BIT_0 0x00000001

#define BIT_1 0x00000002

#define BIT_10 0x00000400

#define BIT_11 0x00000800

#define BIT_12 0x00001000

#define BIT_13 0x00002000

#define BIT_14 0x00004000

#define BIT_15 0x00008000

#define BIT_16 0x00010000

#define BIT_17 0x00020000

#define BIT_18 0x00040000

#define BIT_19 0x00080000

#define BIT_2 0x00000004

#define BIT_20 0x00100000

#define BIT_21 0x00200000

#define BIT_22 0x00400000

#define BIT_23 0x00800000

#define BIT_24 0x01000000

#define BIT_25 0x02000000

#define BIT_26 0x04000000

#define BIT_27 0x08000000

#define BIT_28 0x10000000

#define BIT_29 0x20000000

#define BIT_3 0x00000008

#define BIT_30 0x40000000

#define BIT_31 0x80000000

#define BIT_4 0x00000010

Referenced by iCheckTarga().

#define BIT_5 0x00000020

#define BIT_6 0x00000040

#define BIT_7 0x00000080

Referenced by iLoadCutInternal(), and iUncompressTgaData().

#define BIT_8 0x00000100

#define BIT_9 0x00000200

#define IL_BMPCOMP 0x04

Referenced by ilRleCompress(), ilRleCompressLine(), and iSaveBitmapInternal().

#define IL_PCXCOMP 0x02

#define IL_SGICOMP 0x03

Referenced by ilRleCompressLine(), and iSaveRleSgi().

#define IL_TEXT | ( | s |  | ) | (s)

Referenced by ilIsValidBmp(), ilIsValidDcx(), ilIsValidDds(), ilIsValidExr(), ilIsValidGif(), ilIsValidHdr(), ilIsValidIcns(), ilIsValidJp2(), ilIsValidJpeg(), ilIsValidLif(), ilIsValidMdl(), ilIsValidPcx(), ilIsValidPic(), ilIsValidPng(), ilIsValidPnm(), ilIsValidPsd(), ilIsValidPsp(), ilIsValidSgi(), ilIsValidSun(), ilIsValidTga(), ilisValidTiffExtension(), ilIsValidTpl(), ilIsValidVtf(), ilIsValidWdp(), ilIsValidXpm(), ilLoadActPal(), ilLoadColPal(), ilLoadHaloPal(), ilLoadImage(), ilLoadJascPal(), ilLoadPal(), ilLoadPltPal(), ilSaveCHeader(), ilSaveImage(), ilSaveJascPal(), ilSavePal(), ilTypeFromExt(), and iSavePnmInternal().

#define IL_TGACOMP 0x01

Referenced by ilRleCompressLine(), and iSaveTargaInternal().

#define iStrCpy strcpy

Referenced by ilStrDup().

#define NUL '\0'

Referenced by ilReadAsciiPpm().

## Function Documentation

ILboolean iCheckExtension | ( | ILconst_string | Arg,
|  | ILconst_string | Ext |
| ) |  |  |

Referenced by ilIsValidBmp(), ilIsValidDcx(), ilIsValidDds(), ilIsValidExr(), ilIsValidGif(), ilIsValidHdr(), ilIsValidIcns(), ilIsValidJp2(), ilIsValidJpeg(), ilIsValidLif(), ilIsValidMdl(), ilIsValidPcx(), ilIsValidPic(), ilIsValidPng(), ilIsValidPnm(), ilIsValidPsd(), ilIsValidPsp(), ilIsValidSgi(), ilIsValidSun(), ilIsValidTga(), ilisValidTiffExtension(), ilIsValidTpl(), ilIsValidVtf(), ilIsValidWdp(), ilIsValidXpm(), ilLoadActPal(), ilLoadColPal(), ilLoadHaloPal(), ilLoadJascPal(), ilLoadPal(), ilLoadPltPal(), ilSaveCHeader(), ilSaveJascPal(), and iSavePnmInternal().

ILboolean iFastConvert | ( | ILenum | DestFormat | ) |

Referenced by ilConvertImage().

ILbyte* iFgets | ( | char * | buffer,
|  | ILuint | maxlen |
| ) |  |  |

Referenced by ilReadAsciiPpm().

ILboolean iFileExists | ( | ILconst_string | FileName | ) |

Referenced by ilSaveBmp(), ilSaveCHeader(), ilSaveDds(), ilSaveExr(), ilSaveHdr(), ilSaveJascPal(), ilSaveJp2(), ilSaveJpeg(), ilSaveMng(), ilSavePcx(), ilSavePng(), ilSavePnm(), ilSavePsd(), ilSaveRaw(), ilSaveSgi(), ilSaveTarga(), ilSaveTiff(), and ilSaveWbmp().

ILstring iGetExtension | ( | ILconst_string | FileName | ) |

Referenced by ilLoadImage(), ilSaveImage(), ilSavePal(), ilTypeFromExt(), iRegisterLoad(), and iRegisterSave().

ILenum iGetHint | ( | ILenum | Target | ) |

Referenced by iLoadHdrInternal(), ilReadUncompBmp(), iReadNonRleSgi(), iSavePnmInternal(), iUncompressDcx(), iUncompressPcx(), iUncompressSmall(), and iUncompressTgaData().

ILint iGetInt | ( | ILenum | Mode | ) |

Referenced by iConvertImage(), iLoadPcdInternal(), iSaveDdsInternal(), iSaveJpegInternal(), iSavePngInternal(), iSaveSgiInternal(), iSaveTargaInternal(), iSaveWbmpInternal(), and iTargaSize().

char* iGetString | ( | ILenum | StringName | ) |

Referenced by ilSaveCHeader(), iSavePngInternal(), iSaveTargaInternal(), and iTargaSize().

ILboolean ilAddAlpha | ( | void |  | ) |

ILboolean ilAddAlphaKey | ( | ILimage * | Image | ) |

Referenced by ilConvertImage().

ILuint ilCharStrLen | ( | const char * | Str | ) |

Referenced by iClipString(), ilprintf(), ilSaveCHeader(), iSaveSgiInternal(), iSaveTargaInternal(), iTargaSize(), and XpmPredefCol().

void ilDefaultStates | ( | void |  | ) |

Set all states to their defaults.

Referenced by ilInit(), and ilPushAttrib().

ILuint ilDetermineSize | ( | ILenum | Type | ) |

Returns the size of the memory buffer needed to save the current image into this Type.

Referenced by ilSaveL().

ILboolean ilFixCur | ( | void |  | ) |

Referenced by ilDxtcDataToSurface(), and ilFixImage().

ILboolean ilFixImage | ( | void |  | ) |

Referenced by ilLoadFromJpegStruct(), iLoadBitmapInternal(), iLoadCutInternal(), iLoadDataInternal(), iLoadDcxInternal(), iLoadDdsCubemapInternal(), iLoadDdsInternal(), iLoadDoomFlatInternal(), iLoadDoomInternal(), iLoadExrInternal(), iLoadGifInternal(), iLoadHdrInternal(), iLoadIcnsInternal(), iLoadIconInternal(), iLoadIffInternal(), iLoadJp2Internal(), iLoadLifInternal(), iLoadMdlInternal(), iLoadMngInternal(), iLoadPcdInternal(), iLoadPcxInternal(), iLoadPicInternal(), iLoadPixInternal(), iLoadPngInternal(), iLoadPnmInternal(), iLoadPsdInternal(), iLoadPspInternal(), iLoadRawInternal(), iLoadSgiInternal(), iLoadSunInternal(), iLoadTargaInternal(), iLoadTplInternal(), iLoadVtfInternal(), and iLoadWalInternal().

ILboolean ilIsValidBmp | ( | ILconst_string CONST_RESTRICT | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidBmpF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid .bmp lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidDcx | ( | ILconst_string | FileName | ) |

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

ILboolean ilIsValidDcxF | ( | ILHANDLE | File | ) |

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

Referenced by ilIsValidDcx().

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

Checks if Lump is a valid .dcx lump.

ILboolean ilIsValidDds | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidDdsF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid .dds lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

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

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

Referenced by ilIsValid().

ILboolean ilIsValidGifF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid Gif lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidHdr | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidHdrF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid .hdr lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidIcns | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidIcnsF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid .icns lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidJp2 | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidJp2F | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid .jp2 lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidJpeg | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidJpegF | ( | ILHANDLE | File | ) |

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

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

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

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidLif | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidLifF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid Lif lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidMdl | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidMdlF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid MDL lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidPcx | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidPcxF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid .pcx lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidPic | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidPicF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid .pic lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidPng | ( | ILconst_string | FileName | ) |

Referenced by ilIsValid().

ILboolean ilIsValidPngF | ( | ILHANDLE | File | ) |

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

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

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidPnm | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidPnmF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid .pnm lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidPsd | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidPsdF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid Psd lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidPsp | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidPspF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid Psp lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidSgi | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidSgiF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid .sgi lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidSun | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidSunF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid Sun lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidTga | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidTgaF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid Targa lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidTiff | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidTiffF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid Tiff lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidTpl | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidTplF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid TPL lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidVtf | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidVtfF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid VTF lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilIsValidWdp | ( | ILconst_string | FileName | ) |

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

ILboolean ilIsValidWdpF | ( | ILHANDLE | File | ) |

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

Referenced by ilIsValidWdp().

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

Checks if Lump is a valid Wdp lump.

ILboolean ilIsValidXpm | ( | ILconst_string | FileName | ) |

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

Referenced by ilIsValid().

ILboolean ilIsValidXpmF | ( | ILHANDLE | File | ) |

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

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

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

Checks if Lump is a valid XPM lump.

Referenced by ilDetermineTypeL(), and ilIsValidL().

ILboolean ilLoadBmp | ( | ILconst_string | FileName | ) |

Reads a .bmp file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadBmpF | ( | ILHANDLE | File | ) |

Reads an already-opened .bmp file.

Referenced by ilLoadBmp(), and ilLoadF().

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

Reads from a memory "lump" that contains a .bmp.

Referenced by ilLoadL().

ILboolean ilLoadCut | ( | ILconst_string | FileName | ) |

Reads a .cut file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadCutF | ( | ILHANDLE | File | ) |

Reads an already-opened .cut file.

Referenced by ilLoadCut(), and ilLoadF().

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

Reads from a memory "lump" that contains a .cut.

Referenced by ilLoadL().

ILboolean ilLoadDcx | ( | ILconst_string | FileName | ) |

Reads a .dcx file.

Referenced by ilLoadImage().

ILboolean ilLoadDcxF | ( | ILHANDLE | File | ) |

Reads an already-opened .dcx file.

Referenced by ilLoadDcx().

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

Reads from a memory "lump" that contains a .dcx.

ILboolean ilLoadDds | ( | ILconst_string | FileName | ) |

Reads a .dds file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadDdsF | ( | ILHANDLE | File | ) |

Reads an already-opened .dds file.

Referenced by ilLoadDds(), and ilLoadF().

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

Reads from a memory "lump" that contains a .dds.

Referenced by ilLoadL().

ILboolean ilLoadDoom | ( | ILconst_string | FileName | ) |

Reads a Doom file.

Referenced by ilLoad().

ILboolean ilLoadDoomF | ( | ILHANDLE | File | ) |

Reads an already-opened Doom file.

Referenced by ilLoadDoom(), ilLoadDoomFlat(), and ilLoadF().

ILboolean ilLoadDoomFlat | ( | ILconst_string | FileName | ) |

Reads a Doom flat file.

Referenced by ilLoad().

ILboolean ilLoadDoomFlatF | ( | ILHANDLE | File | ) |

Reads an already-opened Doom flat file.

Referenced by ilLoadF().

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

Reads from a memory "lump" that contains a Doom flat.

Referenced by ilLoadL().

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

Reads from a memory "lump" that contains a Doom texture.

Referenced by ilLoadL().

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

Reads a Gif file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadGifF | ( | ILHANDLE | File | ) |

Reads an already-opened Gif file.

Referenced by ilLoadF(), and ilLoadGif().

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

Reads from a memory "lump" that contains a Gif.

Referenced by ilLoadL().

ILboolean ilLoadHdr | ( | ILconst_string | FileName | ) |

Reads a .hdr file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadHdrF | ( | ILHANDLE | File | ) |

Reads an already-opened .hdr file.

Referenced by ilLoadF(), and ilLoadHdr().

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

Reads from a memory "lump" that contains a .hdr.

Referenced by ilLoadL().

ILboolean ilLoadIcns | ( | ILconst_string | FileName | ) |

Reads an icon file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadIcnsF | ( | ILHANDLE | File | ) |

Reads an already-opened icon file.

Referenced by ilLoadF(), and ilLoadIcns().

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

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

Referenced by ilLoadL().

ILboolean ilLoadIcon | ( | ILconst_string | FileName | ) |

Reads an icon file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadIconF | ( | ILHANDLE | File | ) |

Reads an already-opened icon file.

Referenced by ilLoadF(), and ilLoadIcon().

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

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

Referenced by ilLoadL().

ILboolean ilLoadIff | ( | ILconst_string | FileName | ) |

ILboolean ilLoadIffF | ( | ILHANDLE | File | ) |

Reads an already-opened IFF file.

Referenced by ilLoadF(), and ilLoadIff().

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

Reads from a memory "lump" that contains a IFF.

Referenced by ilLoadL().

ILboolean ilLoadJp2 | ( | ILconst_string | FileName | ) |

Reads a Jpeg2000 file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadJp2F | ( | ILHANDLE | File | ) |

Reads an already-opened Jpeg2000 file.

Referenced by ilLoadF(), and ilLoadJp2().

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

Reads from a memory "lump" that contains a Jpeg2000 stream.

Referenced by ilLoadL().

ILboolean ilLoadJp2LInternal | ( | const void * | Lump,
|  | ILuint | Size,
|  | ILimage * | Image |
| ) |  |  |

This is separated so that it can be called for other file types, such as .icns.

Referenced by iIcnsReadData(), and ilLoadJp2L().

ILboolean ilLoadJpeg | ( | ILconst_string | FileName | ) |

Reads a jpeg file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadJpegF | ( | ILHANDLE | File | ) |

Reads an already-opened jpeg file.

Referenced by ilLoadF(), and ilLoadJpeg().

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

Referenced by ilLoadL().

ILboolean ilLoadLif | ( | ILconst_string | FileName | ) |

Reads a .Lif file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadLifF | ( | ILHANDLE | File | ) |

Reads an already-opened .Lif file.

Referenced by ilLoadF(), and ilLoadLif().

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

Reads from a memory "lump" that contains a .Lif.

Referenced by ilLoadL().

ILboolean ilLoadMdl | ( | ILconst_string | FileName | ) |

Reads a .mdl file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadMdlF | ( | ILHANDLE | File | ) |

Reads an already-opened .mdl file.

Referenced by ilLoadF(), and ilLoadMdl().

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

Reads from a memory "lump" that contains a .mdl.

Referenced by ilLoadL().

ILboolean ilLoadMng | ( | ILconst_string | FileName | ) |

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadMngF | ( | ILHANDLE | File | ) |

Referenced by ilLoadF(), and ilLoadMng().

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

Referenced by ilLoadL().

ILboolean ilLoadPcd | ( | ILconst_string | FileName | ) |

Reads a .pcd file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadPcdF | ( | ILHANDLE | File | ) |

Reads an already-opened .pcd file.

Referenced by ilLoadF(), and ilLoadPcd().

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

Reads from a memory "lump" that contains a .pcd file.

Referenced by ilLoadL().

ILboolean ilLoadPcx | ( | ILconst_string | FileName | ) |

Reads a .pcx file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadPcxF | ( | ILHANDLE | File | ) |

Reads an already-opened .pcx file.

Referenced by ilLoadF(), and ilLoadPcx().

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

Reads from a memory "lump" that contains a .pcx.

Referenced by ilLoadL().

ILboolean ilLoadPic | ( | ILconst_string | FileName | ) |

Reads a .pic file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadPicF | ( | ILHANDLE | File | ) |

Reads an already-opened .pic file.

Referenced by ilLoadF(), and ilLoadPic().

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

Reads from a memory "lump" that contains a .pic.

Referenced by ilLoadL().

ILboolean ilLoadPix | ( | ILconst_string | FileName | ) |

Reads a Pix file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadPixF | ( | ILHANDLE | File | ) |

Reads an already-opened Pix file.

Referenced by ilLoadF(), and ilLoadPix().

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

Reads from a memory "lump" that contains a Pix.

Referenced by ilLoadL().

ILboolean ilLoadPng | ( | ILconst_string | FileName | ) |

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadPngF | ( | ILHANDLE | File | ) |

Referenced by ilLoadF(), and ilLoadPng().

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

Referenced by ilLoadL().

ILboolean ilLoadPnm | ( | ILconst_string | FileName | ) |

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadPnmF | ( | ILHANDLE | File | ) |

Referenced by ilLoadF(), and ilLoadPnm().

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

Referenced by ilLoadL().

ILboolean ilLoadPsd | ( | ILconst_string | FileName | ) |

Reads a Psd file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadPsdF | ( | ILHANDLE | File | ) |

Reads an already-opened Psd file.

Referenced by ilLoadF(), and ilLoadPsd().

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

Reads from a memory "lump" that contains a Psd.

Referenced by ilLoadL().

ILboolean ilLoadPsp | ( | ILconst_string | FileName | ) |

Reads a PSP file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadPspF | ( | ILHANDLE | File | ) |

Reads an already-opened PSP file.

Referenced by ilLoadF(), and ilLoadPsp().

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

Reads from a memory "lump" that contains a PSP.

Referenced by ilLoadL().

ILboolean ilLoadPxr | ( | ILconst_string | FileName | ) |

Reads a Pxr file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadPxrF | ( | ILHANDLE | File | ) |

Reads an already-opened Pxr file.

Referenced by ilLoadF(), and ilLoadPxr().

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

Reads from a memory "lump" that contains a Pxr.

Referenced by ilLoadL().

ILboolean ilLoadRaw | ( | ILconst_string | FileName | ) |

Reads a raw file.

Referenced by ilLoad().

ILboolean ilLoadRawF | ( | ILHANDLE | File | ) |

Reads an already-opened raw file.

Referenced by ilLoadF(), and ilLoadRaw().

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

Reads from a raw memory "lump".

Referenced by ilLoadL().

ILboolean ilLoadSgi | ( | ILconst_string | FileName | ) |

Reads a SGI file

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadSgiF | ( | ILHANDLE | File | ) |

Reads an already-opened SGI file

Referenced by ilLoadF(), and ilLoadSgi().

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

Reads from a memory "lump" that contains a SGI image

Referenced by ilLoadL().

ILboolean ilLoadSun | ( | ILconst_string | FileName | ) |

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadSunF | ( | ILHANDLE | File | ) |

Reads an already-opened Sun file.

Referenced by ilLoadF(), and ilLoadSun().

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

Reads from a memory "lump" that contains a Sun.

Referenced by ilLoadL().

ILboolean ilLoadTarga | ( | ILconst_string | FileName | ) |

Reads a Targa file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadTargaF | ( | ILHANDLE | File | ) |

Reads an already-opened Targa file.

Referenced by ilLoadF(), and ilLoadTarga().

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

Reads from a memory "lump" that contains a Targa.

Referenced by ilLoadL().

ILboolean ilLoadTiff | ( | ILconst_string | FileName | ) |

Reads a Tiff file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadTiffF | ( | ILHANDLE | File | ) |

Reads an already-opened Tiff file.

Referenced by ilLoadF(), and ilLoadTiff().

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

Reads from a memory "lump" that contains a Tiff.

Referenced by ilLoadL().

ILboolean ilLoadTpl | ( | ILconst_string | FileName | ) |

Reads a TPL file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadTplF | ( | ILHANDLE | File | ) |

Reads an already-opened TPL file.

Referenced by ilLoadF(), and ilLoadTpl().

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

Reads from a memory "lump" that contains a TPL.

Referenced by ilLoadL().

ILboolean ilLoadVtf | ( | ILconst_string | FileName | ) |

Reads a VTF file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadVtfF | ( | ILHANDLE | File | ) |

Reads an already-opened VTF file.

Referenced by ilLoadF(), and ilLoadVtf().

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

Reads from a memory "lump" that contains a VTF.

Referenced by ilLoadL().

ILboolean ilLoadWal | ( | ILconst_string | FileName | ) |

Reads a .wal file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadWalF | ( | ILHANDLE | File | ) |

Reads an already-opened .wal file.

Referenced by ilLoadF(), and ilLoadWal().

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

Reads from a memory "lump" that contains a .wal file.

Referenced by ilLoadL().

ILboolean ilLoadWbmp | ( | ILconst_string | FileName | ) |

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadWbmpF | ( | ILHANDLE | File | ) |

Reads an already-opened .wbmp file.

Referenced by ilLoadF(), and ilLoadWbmp().

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

Reads from a memory "lump" that contains a .wbmp.

Referenced by ilLoadL().

ILboolean ilLoadWdp | ( | ILconst_string | FileName | ) |

Reads a WDP file.

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadWdpF | ( | ILHANDLE | File | ) |

Reads an already-opened WDP file.

Referenced by ilLoadWdp().

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

Reads from a memory "lump" that contains a WDP image.

ILboolean ilLoadXpm | ( | ILconst_string | FileName | ) |

Referenced by ilLoad(), and ilLoadImage().

ILboolean ilLoadXpmF | ( | ILHANDLE | File | ) |

Reads an already-opened .xpm file.

Referenced by ilLoadF(), and ilLoadXpm().

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

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

Referenced by ilLoadL().

ILAPI ILubyte* ILAPIENTRY ilNVidiaCompressDXT | ( | ILubyte * | Data,
|  | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth,
|  | ILenum | DxtFormat,
|  | ILuint * | DxtSize |
| ) |  |  |

Referenced by ilCompressDXT().

ILuint ilNVidiaCompressDXTFile | ( | ILubyte * | Data,
|  | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth,
|  | ILenum | DxtType |
| ) |  |  |

Referenced by Compress().

ILboolean ilRemoveAlpha | ( | void |  | ) |

void ilRemoveRegistered | ( | void |  | ) |

Referenced by ilInit().

ILuint ilRleCompress | ( | ILubyte * | Data,
|  | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth,
|  | ILubyte | Bpp,
|  | ILubyte * | Dest,
|  | ILenum | CompressMode,
|  | ILuint * | ScanTable |
| ) |  |  |

Referenced by iSaveBitmapInternal(), and iSaveTargaInternal().

ILboolean ilRleCompressLine | ( | ILubyte * | ScanLine,
|  | ILuint | Width,
|  | ILubyte | Bpp,
|  | ILubyte * | Dest,
|  | ILuint * | DestWidth,
|  | ILenum | CompressMode |
| ) |  |  |

Referenced by ilRleCompress(), and iSaveRleSgi().

ILboolean ilSaveBmp | ( | ILconst_string | FileName | ) |

ILuint ilSaveBmpF | ( | ILHANDLE | File | ) |

Writes a Bmp to an already-opened file.

Referenced by ilSaveBmp(), and ilSaveF().

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

Writes a Bmp to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILboolean ilSaveCHeader | ( | ILconst_string | FileName,
|  | char * | InternalName |
| ) |  |  |

Generates a C-style header file for the current image.

Referenced by ilSave(), and ilSaveImage().

ILboolean ilSaveDds | ( | ILconst_string | FileName | ) |

ILuint ilSaveDdsF | ( | ILHANDLE | File | ) |

Writes a Dds to an already-opened file.

Referenced by ilSaveDds(), and ilSaveF().

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

Writes a Dds to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILboolean ilSaveExr | ( | ILconst_string | FileName | ) |

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

ILuint ilSaveHdrF | ( | ILHANDLE | File | ) |

Writes a Hdr to an already-opened file.

Referenced by ilSaveF(), and ilSaveHdr().

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

Writes a Hdr to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILboolean ilSaveJp2 | ( | ILconst_string | FileName | ) |

ILuint ilSaveJp2F | ( | ILHANDLE | File | ) |

Writes a Jp2 to an already-opened file.

Referenced by ilSaveF(), and ilSaveJp2().

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

Writes a Jp2 to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILboolean ilSaveJpeg | ( | ILconst_string | FileName | ) |

ILuint ilSaveJpegF | ( | ILHANDLE | File | ) |

Writes a Jpeg to an already-opened file.

Referenced by ilSaveF(), and ilSaveJpeg().

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

Writes a Jpeg to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILboolean ilSaveMng | ( | ILconst_string | FileName | ) |

ILuint ilSaveMngF | ( | ILHANDLE | File | ) |

Writes a Mng to an already-opened file.

Referenced by ilSaveMng().

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

Writes a Mng to a memory "lump".

ILboolean ilSavePcx | ( | ILconst_string | FileName | ) |

ILuint ilSavePcxF | ( | ILHANDLE | File | ) |

Writes a .pcx to an already-opened file.

Referenced by ilSavePcx().

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

Writes a .pcx to a memory "lump".

Referenced by ilDetermineSize().

ILboolean ilSavePng | ( | ILconst_string | FileName | ) |

ILuint ilSavePngF | ( | ILHANDLE | File | ) |

Writes a Png to an already-opened file.

Referenced by ilSaveF(), and ilSavePng().

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

Writes a Png to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILboolean ilSavePnm | ( | ILconst_string | FileName | ) |

ILuint ilSavePnmF | ( | ILHANDLE | File | ) |

Writes a Pnm to an already-opened file.

Referenced by ilSaveF(), and ilSavePnm().

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

Writes a Pnm to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILboolean ilSavePsd | ( | ILconst_string | FileName | ) |

ILuint ilSavePsdF | ( | ILHANDLE | File | ) |

Writes a Psd to an already-opened file.

Referenced by ilSaveF(), and ilSavePsd().

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

Writes a Psd to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILboolean ilSaveRaw | ( | ILconst_string | FileName | ) |

ILuint ilSaveRawF | ( | ILHANDLE | File | ) |

Writes Raw to an already-opened file.

Referenced by ilSaveF(), and ilSaveRaw().

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

Writes Raw to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILboolean ilSaveSgi | ( | ILconst_string | FileName | ) |

ILuint ilSaveSgiF | ( | ILHANDLE | File | ) |

Writes a Sgi to an already-opened file.

Referenced by ilSaveF(), and ilSaveSgi().

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

Writes a Sgi to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILboolean ilSaveTarga | ( | ILconst_string | FileName | ) |

ILuint ilSaveTargaF | ( | ILHANDLE | File | ) |

Writes a Targa to an already-opened file.

Referenced by ilSaveF(), and ilSaveTarga().

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

Writes a Targa to a memory "lump".

Referenced by ilSaveL(), and iTargaSize().

ILboolean ilSaveTiff | ( | ILconst_string | FileName | ) |

ILuint ilSaveTiffF | ( | ILHANDLE | File | ) |

Writes a Tiff to an already-opened file.

Referenced by ilSaveF(), and ilSaveTiff().

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

Writes a Tiff to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILboolean ilSaveWbmp | ( | ILconst_string | FileName | ) |

ILuint ilSaveWbmpF | ( | ILHANDLE | File | ) |

Writes a .wbmp to an already-opened file.

Referenced by ilSaveF(), and ilSaveWbmp().

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

Writes a .wbmp to a memory "lump".

Referenced by ilDetermineSize(), and ilSaveL().

ILAPI void ILAPIENTRY ilSetCurImage | ( | ILimage * | Image | ) |

ILAPI ILubyte* ILAPIENTRY ilSquishCompressDXT | ( | ILubyte * | Data,
|  | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth,
|  | ILenum | DxtFormat,
|  | ILuint * | DxtSize |
| ) |  |  |

Referenced by Compress(), and ilCompressDXT().

ILstring ilStrDup | ( | ILconst_string | Str | ) |

Glut's portability.txt says to use this...

Referenced by ilRegisterLoad(), and ilRegisterSave().

ILuint ilStrLen | ( | ILconst_string | Str | ) |

Referenced by iCheckExtension(), iGetExtension(), ilLoad(), ilLoadImage(), ilSaveCHeader(), ilSaveImage(), ilStrDup(), and ilTypeFromExt().

ILboolean ilSwapColours | ( | void |  | ) |

Referenced by iSaveTargaInternal().

void iSetImage0 | ( | void |  | ) |

Referenced by ilInit().

int iSqrt | ( | int | x | ) |

Referenced by Decompress3Dc().

int iStrCmp | ( | ILconst_string | src1,
|  | ILconst_string | src2 |
| ) |  |  |

Referenced by iCheckExtension(), ilLoadImage(), ilRegisterLoad(), ilRegisterSave(), ilRemoveLoad(), ilRemoveSave(), ilSaveImage(), ilSavePal(), ilTypeFromExt(), iRegisterLoad(), and iRegisterSave().

int stricmp | ( | const char * | src1,
|  | const char * | src2 |
| ) |  |  |

Referenced by iCheckLif(), iCheckPsp(), ilLoadJascPal(), iStrCmp(), and XpmPredefCol().

int strnicmp | ( | const char * | src1,
|  | const char * | src2,
|  | size_t | max |
| ) |  |  |

Referenced by iCheckHdr(), iIsValidGif(), iIsValidHdr(), iLoadGifInternal(), and iLoadIconInternal().

## Variable Documentation

ILimage* iCurImage

Referenced by AllocImage(), AssembleImage(), Compress(), CompressTo565(), CompressTo88(), CompressToRXGB(), DetermineSgiType(), EndianSwapData(), GetImages(), GetSingleChannel(), iBindImageTemp(), iConvertPalette(), iCopyPal(), iFastConvert(), iGetActiveNum(), iGetOS2Bmp(), iIcnsReadData(), ilActiveFace(), ilActiveImage(), ilActiveLayer(), ilActiveMipmap(), ilAddAlpha(), ilApplyPal(), ilApplyProfile(), ilBindImage(), ilBlit(), ilClampNTSC(), ilClearImage(), ilCloneCurImage(), ilCompressDXT(), ilConvertBuffer(), ilConvertImage(), ilConvertPal(), ilCopyImage(), ilCopyPixels(), ilCopyPixels1D(), ilCopyPixels2D(), ilCopyPixels3D(), ilCreateSubImage(), ilDefaultImage(), ilDeleteImages(), ilDxtcDataToSurface(), ilFixCur(), ilFlipImage(), ilFlipSurfaceDxtcData(), ilFreeSurfaceDxtcData(), ilGetAlpha(), ilGetCurImage(), ilGetCurName(), ilGetData(), ilGetDxtcData(), ilGetDXTCData(), ilGetIntegerv(), ilGetPalette(), ilInvertSurfaceDxtcDataAlpha(), ilLoadActPal(), ilLoadColPal(), ilLoadFromJpegStruct(), ilLoadHaloPal(), ilLoadImage(), ilLoadJascPal(), ilLoadPltPal(), ilModAlpha(), iLoadBitmapInternal(), iLoadCutInternal(), iLoadDataInternal(), iLoadDcxInternal(), iLoadDdsInternal(), iLoadDoomFlatInternal(), iLoadDoomInternal(), iLoadExrInternal(), iLoadGifInternal(), iLoadHdrInternal(), iLoadIcnsInternal(), iLoadIconInternal(), iLoadIffInternal(), iLoadJp2Internal(), iLoadJpegInternal(), iLoadLifInternal(), iLoadMdlInternal(), iLoadMngInternal(), iLoadPcdInternal(), iLoadPcxInternal(), iLoadPicInternal(), iLoadPixInternal(), iLoadPngInternal(), iLoadPnmInternal(), iLoadPsdInternal(), iLoadPspInternal(), iLoadPxrInternal(), iLoadRawInternal(), iLoadSgiInternal(), iLoadSunInternal(), iLoadTargaInternal(), iLoadTplInternal(), iLoadVtfInternal(), iLoadWalInternal(), iLoadWbmpInternal(), iLoadWdpInternal(), iLoadXpmInternal(), ilOverlayImage(), ilReadAsciiPpm(), ilReadBinaryPpm(), ilReadBitPbm(), ilReadRLE4Bmp(), ilReadRLE8Bmp(), ilReadUncompBmp(), ilRegisterFormat(), ilRegisterMipNum(), ilRegisterNumFaces(), ilRegisterNumImages(), ilRegisterOrigin(), ilRegisterPal(), ilRegisterType(), ilRemoveAlpha(), ilReplaceCurImage(), ilSaveCHeader(), ilSaveData(), ilSaveFromJpegStruct(), ilSaveImage(), ilSaveJascPal(), ilSavePal(), ilSetAlpha(), ilSetCurImage(), ilSetData(), ilSetDuration(), ilSetInteger(), ilSetPal(), ilSetPixels(), ilSetPixels1D(), ilSetPixels2D(), ilSetPixels3D(), ilSurfaceToDxtcData(), ilSwapColours(), ilTexImage(), ilTexImageDxtc(), iMirror(), iNeuQuant(), iNewSgi(), iQuantizeImage(), iReadBwTga(), iReadColMapTga(), iReadNonRleSgi(), iReadRleSgi(), iReadUnmapTga(), iSaveBitmapInternal(), iSaveDdsInternal(), iSaveExrInternal(), iSaveHdrInternal(), iSaveJp2Internal(), iSaveJpegInternal(), iSavePcxInternal(), iSavePngInternal(), iSavePnmInternal(), iSavePsdInternal(), iSaveRawInternal(), iSaveSgiInternal(), iSaveTargaInternal(), iSaveWbmpInternal(), iSetImage0(), iTargaSize(), iUncompressDcx(), iUncompressPcx(), iUncompressSmall(), iUncompressTgaData(), mymnggetcanvasline(), mymngprocessheader(), ParseResources(), PsdGetData(), ReadCMYK(), ReadGrey(), ReadIndexed(), readpng_get_image(), and ReadRGB().