1mlib_ImageNot(3MLIB)      mediaLib Library Functions      mlib_ImageNot(3MLIB)
2
3
4

NAME

6       mlib_ImageNot - Not
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_ImageNot(mlib_image *dst, const mlib_image *src);
13
14

DESCRIPTION

16       The  mlib_ImageNot() function computes the logical Not of each pixel in
17       the source image.
18
19
20       It uses the following equation:
21
22         dst[x][y][i] = ~src[x][y][i]
23
24
25
26       The data type of the images can  be  MLIB_BIT,  MLIB_BYTE,  MLIB_SHORT,
27       MLIB_USHORT, or MLIB_INT.
28

PARAMETERS

30       The function takes the following arguments:
31
32       dst    Pointer to destination image.
33
34
35       src    Pointer to source image.
36
37

RETURN VALUES

39       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
40       MLIB_FAILURE.
41

ATTRIBUTES

43       See attributes(5) for descriptions of the following attributes:
44
45
46
47
48       ┌─────────────────────────────┬─────────────────────────────┐
49       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
50       ├─────────────────────────────┼─────────────────────────────┤
51       │Interface Stability          │Committed                    │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │MT-Level                     │MT-Safe                      │
54       └─────────────────────────────┴─────────────────────────────┘
55

SEE ALSO

57       mlib_ImageNot_Inp(3MLIB), attributes(5)
58
59
60
61SunOS 5.11                        2 Mar 2007              mlib_ImageNot(3MLIB)
Impressum