PNM type.
More...
#include <pnm.h>
PNM type.
Definition at line 44 of file pnm.h.
◆ type
PNM type.
Definition at line 46 of file pnm.h.
◆ depth
Number of scalar values per pixel.
Definition at line 48 of file pnm.h.
◆ packing
Number of pixels per composite value.
Definition at line 50 of file pnm.h.
◆ flags
◆ scalar
Extract scalar value.
- Parameters
-
| image | PNM image |
| pnm | PNM context |
- Return values
-
| value | Value, or negative error |
Definition at line 59 of file pnm.h.
Referenced by pnm_data().
◆ rgb
Convert composite value to 24-bit RGB.
- Parameters
-
| composite | Composite value |
| index | Pixel index within this composite value |
- Return values
-
Definition at line 66 of file pnm.h.
The documentation for this struct was generated from the following file: