DevIL Documentation | Home | Previous | Next |
The iluNegative function creates a negative of the current image.
ILboolean iluNegative(
ILvoid
);
None
iluNegative creates a negative version of an image, like it was viewed as a picture negative instead of the actual picture. The effect is caused by inverting the image's colours, such as a green pixel would become purple (red-blue).
ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.