?? cmrgbheader.h
字號(hào):
/*
* RGB file header
*
* Contains the definition of an IRIS RGB FILE header
*/
#ifndef CMRGBHEADER_H
#define CMRGBHEADER_H
typedef struct {
short int magic; /* IRIS image file magic number = 474 */
char storage; /* Storage format 0 = uncompressed */
/* 1 = RLE compression */
char bpc; /* # bytes per pixel channel (legally 1 or 2) */
unsigned short int dimension; /* # of dimensions (1,2, or 3) */
/* 1 = single row, XSIZE long */
/* 2 = single 2D image */
/* 3 = multiple 2D images */
unsigned short int xsize; /* x size in pixels */
unsigned short int ysize; /* y size in pixels */
unsigned short int zsize; /* Number of channels: */
/* 1 = greyscale */
/* 3 = RGB */
/* 4 = RGB and Alpha */
long pixmin; /* miminum pixel value */
long pixmax; /* maximum pixel value */
char dummy[4]; /* ignored, set to 0 */
char imagename[80]; /* Image Name: Must be null terminated */
long colormap; /* Color Map ID : */
/* 0 = normal mode */
/* 1 = dithered, 3 mits for red and green, 2
for blue, obsolete */
/* 2 = index color, obsolete */
/* 3 = not an image but a colormap */
char dummy2[404]; /* ignored, set to zero, pad header to 512 */
} cmRGBHeader_t;
/* function prototype */
int cmRgbHdrBuild (unsigned char *buffer_in, int buffer_in_len, unsigned char *buffer_out, int *buffer_out_len, int width, int height);
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -