kolrabi's another Image Library  1.11.0
 All Files Functions Groups Pages
ilu_api.c File Reference

Contains public ILU entry functions. More...

Functions

ILboolean ILAPIENTRY iluAlienify (void)
 Funny as hell filter that I stumbled upon accidentally. More...
 
ILboolean ILAPIENTRY iluBlurAvg (ILuint Iter)
 Average each pixel with its surrounding pixels Iter times. More...
 
ILboolean ILAPIENTRY iluBlurGaussian (ILuint Iter)
 Blurs an image using a Gaussian convolution filter, which usually gives better results than the filter used by iluBlurAvg. More...
 
ILboolean ILAPIENTRY iluBuildMipmaps ()
 Generates as many mipmaps for an image as possible. More...
 
ILuint ILAPIENTRY iluColoursUsed ()
 Returns the number of colours used in the current image. More...
 
ILboolean ILAPIENTRY iluCompareImage (ILuint Comp)
 Compares the current image to the image having the name in Comp. More...
 
ILboolean ILAPIENTRY iluContrast (ILfloat Contrast)
 changes the contrast of an image by using interpolation and extrapolation. More...
 
ILAPI ILboolean ILAPIENTRY iluConvolution (ILint *matrix, ILint scale, ILint bias)
 Applies a user supplied convolution matrix. More...
 
ILboolean ILAPIENTRY iluCrop (ILuint XOff, ILuint YOff, ILuint ZOff, ILuint Width, ILuint Height, ILuint Depth)
 "Crops" the current image to new dimensions. More...
 
void ILAPIENTRY iluDeleteImage (ILuint Id)
 Delete a single image. More...
 
ILboolean ILAPIENTRY iluEdgeDetectE ()
 Performs edge detection using an emboss convolution filter. More...
 
ILboolean ILAPIENTRY iluEdgeDetectP ()
 Detects the edges in the current image by combining two convolution filters. More...
 
ILboolean ILAPIENTRY iluEdgeDetectS ()
 Detects the edges in the current image by combining two convolution filters. More...
 
ILboolean ILAPIENTRY iluEmboss ()
 Embosses an image, causing it to have a "relief" feel to it. More...
 
ILboolean ILAPIENTRY iluEnlargeCanvas (ILuint Width, ILuint Height, ILuint Depth)
 Enlarges the canvas of the current image. More...
 
ILboolean ILAPIENTRY iluEnlargeImage (ILfloat XDim, ILfloat YDim, ILfloat ZDim)
 Enlarges an image's dimensions by multipliers, via iluScale. More...
 
ILboolean ILAPIENTRY iluEqualize ()
 Equalizes the intensity distribution in the histogram of an image. More...
 
ILconst_string ILAPIENTRY iluErrorString (ILenum Error)
 Returns a human-readable string of the error in Error. More...
 
ILboolean ILAPIENTRY iluFlipImage ()
 Flips an image over its x axis.
 
ILboolean ILAPIENTRY iluGammaCorrect (ILfloat Gamma)
 Performs gamma correction of an image. More...
 
ILuint ILAPIENTRY iluGenImage ()
 Create a single new image and binds it. More...
 
void ILAPIENTRY iluGetImageInfo (ILinfo *Info)
 Retrieves information about the current bound image.
 
ILint ILAPIENTRY iluGetInteger (ILenum Mode)
 Returns the current value of the Mode. More...
 
void ILAPIENTRY iluGetIntegerv (ILenum Mode, ILint *Param)
 Returns the current value of the Mode and stores it in Param.
 
ILconst_string ILAPIENTRY iluGetString (ILenum StringName)
 Returns a constant string detailing aspects about this library. More...
 
ILboolean ILAPIENTRY iluHistogram (ILuint *Values, ILuint Count)
 Get a histogram of an image. More...
 
void ILAPIENTRY iluImageParameter (ILenum PName, ILenum Param)
 Sets an image parameter for a PNames. More...
 
void ILAPIENTRY iluInit ()
 Starts ILU and must be called prior to using any other ILU function.
 
ILboolean ILAPIENTRY iluInvertAlpha ()
 Inverts the alpha in the image. More...
 
ILuint ILAPIENTRY iluLoadImage (ILconst_string FileName)
 Loads a file into a new image.
 
ILboolean ILAPIENTRY iluMirror ()
 Mirrors an image over its y axis.
 
ILboolean ILAPIENTRY iluNegative ()
 Inverts the colours in the image.
 
ILboolean ILAPIENTRY iluNoisify (ILclampf Tolerance)
 Adds some noise. More...
 
ILboolean ILAPIENTRY iluNormalize ()
 Normalizes the intensities in an image. More...
 
ILboolean ILAPIENTRY iluPixelize (ILuint PixSize)
 Pixelizes an image. More...
 
void ILAPIENTRY iluRegionfv (ILUpointf *Points, ILuint n)
 Sets the currently active region. More...
 
void ILAPIENTRY iluRegioniv (ILUpointi *Points, ILuint n)
 Sets the currently active region. More...
 
ILboolean ILAPIENTRY iluReplaceColour (ILubyte Red, ILubyte Green, ILubyte Blue, ILfloat Tolerance)
 Replaces any occurence of the the color set by ilClearColour() with the given color where the euclidean distance between the colors is Tolerance or lower. More...
 
ILboolean ILAPIENTRY iluRotate (ILfloat Angle)
 Simply rotates an image about the center by Angle degrees. More...
 
ILboolean ILAPIENTRY iluRotate3D (ILfloat x, ILfloat y, ILfloat z, ILfloat Angle)
 Rotates an image around a given axis. More...
 
ILboolean ILAPIENTRY iluSaturate1f (ILfloat Saturation)
 Modifies the color saturation of an image. More...
 
ILboolean ILAPIENTRY iluSaturate4f (ILfloat r, ILfloat g, ILfloat b, ILfloat Saturation)
 Modifies the color saturation of an image. More...
 
ILboolean ILAPIENTRY iluScale (ILuint Width, ILuint Height, ILuint Depth)
 Scales the image to the new dimensions specified, shrinking or enlarging the image, depending on the image's original dimensions. More...
 
ILboolean ILAPIENTRY iluScaleAlpha (ILfloat scale)
 Scales the alpha components of the current bound image. More...
 
ILboolean ILAPIENTRY iluScaleColours (ILfloat r, ILfloat g, ILfloat b)
 Scales the individual colour components of the current bound image. More...
 
ILboolean ILAPIENTRY iluSetLanguage (ILenum Language)
 Sets the current language to use for error messages. More...
 
ILboolean ILAPIENTRY iluSharpen (ILfloat Factor, ILuint Iter)
 Sharpens an image. More...
 
ILfloat ILAPIENTRY iluSimilarity (ILuint Comp)
 Compares the current image to the image having the name in Comp.
 
ILboolean ILAPIENTRY iluSwapColours ()
 "Swaps" the colour order of the current image. More...
 
ILboolean ILAPIENTRY iluWave (ILfloat Angle)
 Some weird wavy thing. More...
 

Detailed Description

Contains public ILU entry functions.

Just calls the internal versions of the functions for now.