# E:/DevIL/src-ILU/src/ilu_manip.c File Reference

`#include "ilu_internal.h"`
`#include "ilu_states.h"`
`#include <float.h>`
`#include <limits.h>`

## Data Structures

struct | BUCKET

## Functions

ILboolean | iluCrop2D (ILuint XOff, ILuint YOff, ILuint Width, ILuint Height)
ILboolean | iluCrop3D (ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth)
ILboolean ILAPIENTRY | iluCrop (ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth)
ILboolean ILAPIENTRY | iluEnlargeCanvas (ILuint Width, ILuint Height, ILuint Depth)
| Enlarges the canvas.
ILboolean ILAPIENTRY | iluFlipImage ()
| Flips an image over its x axis.
ILboolean ILAPIENTRY | iluMirror ()
| Mirrors an image over its y axis.
ILboolean ILAPIENTRY | iluInvertAlpha ()
| Inverts the alpha in the image.
ILboolean ILAPIENTRY | iluNegative ()
| Inverts the colours in the image.
ILboolean ILAPIENTRY | iluWave (ILfloat Angle)
ILboolean ILAPIENTRY | iluSwapColours ()
ILuint ILAPIENTRY | iluColoursUsed ()
ILboolean ILAPIENTRY | iluCompareImage (ILuint Comp)
ILboolean ILAPIENTRY | iluReplaceColour (ILubyte Red, ILubyte Green, ILubyte Blue, ILfloat Tolerance)
ILboolean ILAPIENTRY | iluEqualize ()

## Function Documentation

ILuint ILAPIENTRY iluColoursUsed | ( | void |  | ) |

ILboolean ILAPIENTRY iluCompareImage | ( | ILuint | Comp | ) |

ILboolean ILAPIENTRY iluCrop | ( | ILuint | XOff,
|  | ILuint | YOff,
|  | ILuint | ZOff,
|  | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth |
| ) |  |  |

ILboolean iluCrop2D | ( | ILuint | XOff,
|  | ILuint | YOff,
|  | ILuint | Width,
|  | ILuint | Height |
| ) |  |  |

Referenced by iluCrop().

ILboolean iluCrop3D | ( | ILuint | XOff,
|  | ILuint | YOff,
|  | ILuint | ZOff,
|  | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth |
| ) |  |  |

Referenced by iluCrop().

ILboolean ILAPIENTRY iluEnlargeCanvas | ( | ILuint | Width,
|  | ILuint | Height,
|  | ILuint | Depth |
| ) |  |  |

Enlarges the canvas.

ILboolean ILAPIENTRY iluEqualize | ( | void |  | ) |

ILboolean ILAPIENTRY iluFlipImage | ( | void |  | ) |

Flips an image over its x axis.

Referenced by ilImage::Flip().

ILboolean ILAPIENTRY iluInvertAlpha | ( | void |  | ) |

Inverts the alpha in the image.

ILboolean ILAPIENTRY iluMirror | ( | void |  | ) |

Mirrors an image over its y axis.

ILboolean ILAPIENTRY iluNegative | ( | void |  | ) |

Inverts the colours in the image.

Referenced by ilFilters::Negative().

ILboolean ILAPIENTRY iluReplaceColour | ( | ILubyte | Red,
|  | ILubyte | Green,
|  | ILubyte | Blue,
|  | ILfloat | Tolerance |
| ) |  |  |

ILboolean ILAPIENTRY iluSwapColours | ( | void |  | ) |

Referenced by ilImage::SwapColours().

ILboolean ILAPIENTRY iluWave | ( | ILfloat | Angle | ) |