DevIL Documentation Previous | ILU | Next

 

iluScale

 

The iluScale function scales the image to the new dimensions specified, shrinking or enlarging the image, depending on the image's original dimensions. There are different filters that can be used to scale an image, and which filter to use can be specified via iluImageParameter.

 

ILboolean iluScale(
  ILuint Width, ILuint Height, ILuint Depth );


Parameters

 
Width
New width of the image.
Height
New height of the image.
Depth
New depth of the image.


Errors

 
ILU_ILLEGAL_OPERATION
The operation attempted is not allowable in the current state. The function returns with no ill side effects. Generally there is currently no image bound or it has been deleted via ilDeleteImages. You should use ilGenImages and ilBindImage before calling the function.

See Also

 
ilBindImages, ilGenImages, iluImageParameter,