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

`#include "il_internal.h"`
`#include "il_manip.h"`

## Functions

ILAPI void ILAPIENTRY | iFlipBuffer (ILubyte *buff, ILuint depth, ILuint line_size, ILuint line_num)
ILubyte * | iFlipNewBuffer (ILubyte *buff, ILuint depth, ILuint line_size, ILuint line_num)
ILboolean | ilFlipImage ()
ILubyte *ILAPIENTRY | iGetFlipped (ILimage *img)
ILboolean ILAPIENTRY | iMirror ()
| Mirrors an image over its y axis.
ILboolean | ilCopyPixels1D (ILuint XOff, ILuint Width, void *Data)
ILboolean | ilCopyPixels2D (ILuint XOff, ILuint YOff, ILuint Width, ILuint Height, void *Data)
ILboolean | ilCopyPixels3D (ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth, void *Data)
ILuint ILAPIENTRY | ilCopyPixels (ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, void *Data)
ILboolean | ilSetPixels1D (ILint XOff, ILuint Width, void *Data)
ILboolean | ilSetPixels2D (ILint XOff, ILint YOff, ILuint Width, ILuint Height, void *Data)
ILboolean | ilSetPixels3D (ILint XOff, ILint YOff, ILint ZOff, ILuint Width, ILuint Height, ILuint Depth, void *Data)
void ILAPIENTRY | ilSetPixels (ILint XOff, ILint YOff, ILint ZOff, ILuint Width, ILuint Height, ILuint Depth, ILenum Format, ILenum Type, void *Data)
ILboolean ILAPIENTRY | ilDefaultImage ()
| Creates an ugly 64x64 black and yellow checkerboard image.
ILubyte *ILAPIENTRY | ilGetAlpha (ILenum Type)
ILboolean ILAPIENTRY | ilSetAlpha (ILdouble AlphaValue)
void ILAPIENTRY | ilModAlpha (ILdouble AlphaValue)
ILboolean ILAPIENTRY | ilClampNTSC (void)
| Clamps data values of unsigned bytes from 16 to 235 for display on an.

## Function Documentation

ILAPI void ILAPIENTRY iFlipBuffer | ( | ILubyte * | buff,
|  | ILuint | depth,
|  | ILuint | line_size,
|  | ILuint | line_num |
| ) |  |  |

Referenced by ilFlipImage(), iluFlipImage(), iSaveHdrInternal(), and iSaveJp2Internal().

ILubyte* iFlipNewBuffer | ( | ILubyte * | buff,
|  | ILuint | depth,
|  | ILuint | line_size,
|  | ILuint | line_num |
| ) |  |  |

Referenced by iGetFlipped().

ILubyte* ILAPIENTRY iGetFlipped | ( | ILimage * | img | ) |

Referenced by ilBlit(), ilCopyPixels1D(), ilCopyPixels2D(), ilCopyPixels3D(), ilGetDXTCData(), ilSaveFromJpegStruct(), ilSetPixels1D(), ilSetPixels2D(), ilSetPixels3D(), iSaveBitmapInternal(), iSaveDdsInternal(), iSaveJpegInternal(), iSavePcxInternal(), iSavePnmInternal(), iSavePsdInternal(), iSaveSgiInternal(), iSaveTargaInternal(), and iSaveWbmpInternal().

ILboolean ILAPIENTRY ilClampNTSC | ( | void |  | ) |

Clamps data values of unsigned bytes from 16 to 235 for display on an.

ILuint ILAPIENTRY ilCopyPixels | ( | ILuint | XOff,
|  | ILuint | YOff,
|  | ILuint | ZOff,
|  | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth,
|  | ILenum | Format,
|  | ILenum | Type,
|  | void * | Data |
| ) |  |  |

Referenced by iluCrop2D(), iluCrop3D(), iluEnlargeCanvas(), and iluSharpen().

ILboolean ilCopyPixels1D | ( | ILuint | XOff,
|  | ILuint | Width,
|  | void * | Data |
| ) |  |  |

Referenced by ilCopyPixels().

ILboolean ilCopyPixels2D | ( | ILuint | XOff,
|  | ILuint | YOff,
|  | ILuint | Width,
|  | ILuint | Height,
|  | void * | Data |
| ) |  |  |

Referenced by ilCopyPixels().

ILboolean ilCopyPixels3D | ( | ILuint | XOff,
|  | ILuint | YOff,
|  | ILuint | ZOff,
|  | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth,
|  | void * | Data |
| ) |  |  |

Referenced by ilCopyPixels().

ILboolean ILAPIENTRY ilDefaultImage | ( | void |  | ) |

Creates an ugly 64x64 black and yellow checkerboard image.

Referenced by ilImage::Default(), and iSetImage0().

ILboolean ilFlipImage | ( | void |  | ) |

Referenced by ilBlit(), and ilFixCur().

ILubyte* ILAPIENTRY ilGetAlpha | ( | ILenum | Type | ) |

Referenced by Compress().

void ILAPIENTRY ilModAlpha | ( | ILdouble | AlphaValue | ) |

ILboolean ILAPIENTRY ilSetAlpha | ( | ILdouble | AlphaValue | ) |

void ILAPIENTRY ilSetPixels | ( | ILint | XOff,
|  | ILint | YOff,
|  | ILint | ZOff,
|  | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth,
|  | ILenum | Format,
|  | ILenum | Type,
|  | void * | Data |
| ) |  |  |

ILboolean ilSetPixels1D | ( | ILint | XOff,
|  | ILuint | Width,
|  | void * | Data |
| ) |  |  |

Referenced by ilSetPixels().

ILboolean ilSetPixels2D | ( | ILint | XOff,
|  | ILint | YOff,
|  | ILuint | Width,
|  | ILuint | Height,
|  | void * | Data |
| ) |  |  |

Referenced by ilSetPixels().

ILboolean ilSetPixels3D | ( | ILint | XOff,
|  | ILint | YOff,
|  | ILint | ZOff,
|  | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth,
|  | void * | Data |
| ) |  |  |

Referenced by ilSetPixels().

ILboolean ILAPIENTRY iMirror | ( |  | ) |

Mirrors an image over its y axis.

Referenced by iLoadTargaInternal(), and iluMirror().