QPix Command Reference
![]() |
![]() ![]() |
QPx_InvertPicture(pictVar):error | |||
![]() |
pictVar | Picture | Picture variable |
![]() |
error | Longint | Error result |
Inverts the colors of a picture.
The source picture is passed in the pictVar parameter. The source picture may be compressed or uncompressed.
The inverted picture is also returned in the pictVar parameter and it is always uncompressed.
Example
`Invert a picture C_PICTURE($picture) C_LONGINT($error) $picture:=[Images]Picture $error:=QPx_InvertPicture ($picture) If ($error=qpx_noErr) [Images]Picture:=$picture End if |