DevIL Documentation Home | Previous | Next

iluEnlargeImage

The iluEnlargeImage function enlarges an image's dimensions by multipliers.


ILboolean iluEnlargeImage(
  ILfloat XDim,
  ILfloat YDim,
  ILfloat ZDim
);

Parameters

XDim
Width multiplier.
YDim
Height multiplier.
ZDim
Depth multiplier.

Remarks

iluEnlargeImage enlarges an image's dimensions by multipliers, via iluScale. This function could be useful if you wanted to double the size of all images or something similar.

Error Codes

ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.
ILU_INVALID_PARAM - XDim, YDim or ZDim was equal to or less than 0.0f.

See Also

ilGenImages, ilBindImage