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

`#include "il_internal.h"`

Go to the source code of this file.

## Data Structures

struct | PPMINFO

## Defines

#define | IL_PBM_ASCII 0x0001
#define | IL_PGM_ASCII 0x0002
#define | IL_PPM_ASCII 0x0003
#define | IL_PBM_BINARY 0x0004
#define | IL_PGM_BINARY 0x0005
#define | IL_PPM_BINARY 0x0006

## Functions

ILboolean | iIsValidPnm (void)
ILboolean | iCheckPnm (char Header[2])
ILboolean | iLoadPnmInternal (void)
ILboolean | iSavePnmInternal (void)
ILimage * | ilReadAsciiPpm (PPMINFO *Info)
ILimage * | ilReadBinaryPpm (PPMINFO *Info)
ILimage * | ilReadBitPbm (PPMINFO *Info)
ILboolean | iGetWord (ILboolean)
void | PbmMaximize (ILimage *Image)

## Define Documentation

#define IL_PBM_ASCII 0x0001

Referenced by iLoadPnmInternal(), and iSavePnmInternal().

#define IL_PBM_BINARY 0x0004

Referenced by iLoadPnmInternal(), and iSavePnmInternal().

#define IL_PGM_ASCII 0x0002

Referenced by iLoadPnmInternal(), and iSavePnmInternal().

#define IL_PGM_BINARY 0x0005

Referenced by iLoadPnmInternal(), and iSavePnmInternal().

#define IL_PPM_ASCII 0x0003

Referenced by iLoadPnmInternal(), and iSavePnmInternal().

#define IL_PPM_BINARY 0x0006

Referenced by iLoadPnmInternal(), and iSavePnmInternal().

## Function Documentation

ILboolean iCheckPnm | ( | char | Header[2] | ) |

Referenced by iIsValidPnm().

ILboolean iGetWord | ( | ILboolean |  | ) |

Referenced by iLoadPnmInternal().

ILboolean iIsValidPnm | ( | void |  | ) |

Referenced by ilIsValidPnmF(), and ilIsValidPnmL().

ILboolean iLoadPnmInternal | ( | void |  | ) |

Referenced by ilLoadPnmF(), and ilLoadPnmL().

ILimage* ilReadAsciiPpm | ( | PPMINFO * | Info | ) |

Referenced by iLoadPnmInternal().

ILimage* ilReadBinaryPpm | ( | PPMINFO * | Info | ) |

Referenced by iLoadPnmInternal().

ILimage* ilReadBitPbm | ( | PPMINFO * | Info | ) |

Referenced by iLoadPnmInternal().

ILboolean iSavePnmInternal | ( | void |  | ) |

Referenced by ilSavePnmF(), and ilSavePnmL().

void PbmMaximize | ( | ILimage * | Image | ) |

Referenced by iLoadPnmInternal().