#include <mr_pnm_io.h>
Data Fields | |
short int | pnm_type |
short int | nc |
short int | depth |
unsigned int | byte_width |
unsigned short int | maxval |
unsigned int | width |
unsigned int | height |
unsigned char * | data |
|
total number of byte per line |
|
pixel values |
|
1 or 2 bytes value per pixel channel |
|
image height |
|
maximum color value |
|
numbers of channel : 1 for mono, 3 for color |
|
see magics numbers |
|
image width |