⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bmp.h

📁 这是一个同样来自贝尔实验室的和UNIX有着渊源的操作系统, 其简洁的设计和实现易于我们学习和理解
💻 H
字号:
#define BMP_RGB      	0#define BMP_RLE8     	1#define BMP_RLE4     	2#define BMP_BITFIELDS	3typedef struct {	uchar red;	uchar green;	uchar blue;	uchar alpha;} Rgb;#define Filehdrsz	14typedef struct {        short	type;        long	size;		/* file size, not structure size */        short	reserved1;        short	reserved2;        long	offbits;} Filehdr;typedef struct {	long	size;		/* Size of the Bitmap-file */	long	lReserved;	/* Reserved */	long	dataoff;	/* Picture data location */	long	hsize;		/* Header-Size */	long	width;		/* Picture width (pixels) */	long	height;		/* Picture height (pixels) */	short	planes;		/* Planes (must be 1) */	short	bpp;		/* Bits per pixel (1, 4, 8 or 24) */	long	compression;	/* Compression mode */	long	imagesize;	/* Image size (bytes) */	long	hres;		/* Horizontal Resolution (pels/meter) */	long	vres;		/* Vertical Resolution (pels/meter) */	long	colours;	/* Used Colours (Col-Table index) */	long	impcolours;	/* Important colours (Col-Table index) */} Infohdr;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -