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

NAME

6       mlib_ImageGetData - get data
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       void *mlib_ImageGetData(const mlib_image *img);
13
14

DESCRIPTION

16       The  mlib_ImageGetData()  function  returns  the data public field of a
17       mediaLib image structure. The data type of the image can  be  MLIB_BIT,
18       MLIB_BYTE,  MLIB_SHORT, MLIB_USHORT, MLIB_INT, MLIB_FLOAT, or MLIB_DOU‐
19       BLE.
20

PARAMETERS

22       The function takes the following arguments:
23
24       img    Pointer to source image.
25
26

RETURN VALUES

28       The function returns a pointer to the image data.
29

ATTRIBUTES

31       See attributes(5) for descriptions of the following attributes:
32
33
34
35
36       ┌─────────────────────────────┬─────────────────────────────┐
37       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
38       ├─────────────────────────────┼─────────────────────────────┤
39       │Interface Stability          │Committed                    │
40       ├─────────────────────────────┼─────────────────────────────┤
41       │MT-Level                     │MT-Safe                      │
42       └─────────────────────────────┴─────────────────────────────┘
43

SEE ALSO

45       mlib_ImageGetBitOffset(3MLIB),            mlib_ImageGetChannels(3MLIB),
46       mlib_ImageGetFlags(3MLIB),  mlib_ImageGetHeight(3MLIB),  mlib_ImageGet‐
47       Paddings(3MLIB), mlib_ImageGetStride(3MLIB),  mlib_ImageGetType(3MLIB),
48       mlib_ImageGetWidth(3MLIB), attributes(5)
49
50
51
52SunOS 5.11                        2 Mar 2007          mlib_ImageGetData(3MLIB)
Impressum