DevIL Documentation | Home | Previous | Next |
The iluScale function shrinks or enlarges an image.
ILboolean iluScale(
ILuint Width,
ILuint Height,
ILuint Depth
);
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.
ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.
ilGenImages, ilBindImage, iluImageParameter