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

📄 bmp.h

📁 小程序,但是有点用出处的.进攻参考.请多多提意见.
💻 H
字号:
#ifndef BMP_H#define BMP_Htypedef struct _WinBMPFileHeader {  u16 FileType;     /* File type, always 4D42h ("BM") */  u16 FileSizeLow;  /* Size of the file in bytes */  u16 FileSizeHigh; /* Size of the file in bytes */  u16 Reserved1;    /* Always 0 */  u16 Reserved2;    /* Always 0 */  u16 BitmapOffsetLow; /* Starting position of image data in bytes */  u16 BitmapOffsetHigh; /* Starting position of image data in bytes */} WINBMPFILEHEADER;typedef struct _Win2xBitmapHeader{  u16 SizeLow;         /* Size of this header in bytes */  u16 SizeHigh;  s16 Width;           /* Image width in pixels */  s16 Height;          /* Image height in pixels */  u16 Planes;          /* Number of color planes */  u16 BitsPerPixel;    /* Number of bits per pixel */} WIN2XBITMAPHEADER;typedef struct _Win2xPaletteElement {  u8 Blue;      /* Blue component */  u8 Green;     /* Green component */  u8 Red;       /* Red component */} WIN2XPALETTEELEMENT;#endif /* BMP_H */

⌨️ 快捷键说明

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