1mlib_ImageInvert_Fp_Inp(3MLmIeBd)iaLib Library Functimolnisb_ImageInvert_Fp_Inp(3MLIB)
2
3
4
6 mlib_ImageInvert_Fp_Inp - invert
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageInvert_Fp_Inp(mlib_image *srcdst);
13
14
16 The mlib_ImageInvert_Fp_Inp() function performs the floating-point
17 inversion of an image such that white becomes black, light gray becomes
18 dark gray, and so on, in place.
19
20
21 It uses the following equation:
22
23 srcdst[x][y][i] = -srcdst[x][y][i]
24
25
27 The function takes the following arguments:
28
29 srcdst Pointer to source and destination image.
30
31
33 The function returns MLIB_SUCCESS if successful. Otherwise it returns
34 MLIB_FAILURE.
35
37 See attributes(5) for descriptions of the following attributes:
38
39
40
41
42 ┌─────────────────────────────┬─────────────────────────────┐
43 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Interface Stability │Committed │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │MT-Level │MT-Safe │
48 └─────────────────────────────┴─────────────────────────────┘
49
51 mlib_ImageInvert_Fp(3MLIB), mlib_ImageInvert(3MLIB), mlib_ImageIn‐
52 vert_Inp(3MLIB), attributes(5)
53
54
55
56SunOS 5.11 2 Mar 2007 mlib_ImageInvert_Fp_Inp(3MLIB)