QPix Command Reference Pictures |

### QPx_InvertPicture

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`

QPix © Escape Information Services
Generated by QDoc 2.6 on Thu, 2 May 2002 00:49:51 +0300