新手上路
- 积分
- 25
- 金钱
- 25
- 注册时间
- 2021-7-13
- 在线时间
- 4 小时
|
楼主 |
发表于 2022-4-18 10:18:52
|
显示全部楼层
由于编辑问题,导致BMP信息头未显示完全,补充如下:
- new_bmp_head.FType = 0x4D42
- new_bmp_head.FSize = width*height*int32(3) + 54
- new_bmp_head.FOffBits = 54
- new_bmp_head.FReserved1 = 0
- new_bmp_head.FReserved2 = 0
- new_bmp_infohead.ISize = 40
- new_bmp_infohead.IWidth = width
- new_bmp_infohead.IHeight = height
- new_bmp_infohead.IBitCount = 24
- new_bmp_infohead.IPlanes = 1
- new_bmp_infohead.ICompression = 0
- new_bmp_infohead.ISizeImage = width * height * int32(3)
- new_bmp_infohead.IClrUsed = 0
- new_bmp_infohead.IClrImportant = 0
- new_bmp_infohead.IXPelsPerMeter = 0
- new_bmp_infohead.IYPelsPerMeter = 0
复制代码 |
|