This function inverts a given image.
|
Parameter |
Type |
Description |
|
hImage |
HANDLE |
Identifies the image. |
Return Value
The return value is IMG_OK on success, an error value on failure.
Comments
Although most commonly used on monochrome images, color images may be inverted also. When inverting palette-based color images (16 or 256 color images), the ImgInvert function should be followed with a call to ImgGetPalette as the palette will have been changed.
© 1995-2004 Data Techniques, Inc. All rights reserved.