如何理解Wmf BitCount枚举BI_BITCOUNT_5? [英] How to understand Wmf BitCount Enumeration BI_BITCOUNT_5 ?
问题描述
您好,
在MS-WMF规范中,我看:
2.1.1.3 BitCount Enumeration
BI_BITCOUNT_5:
位图最多有2 ^ 24种颜色,
t 他 颜色
DIB的字段是
NUL L 。
位图数组中的每个3字节三元组代表相对强度蓝色,绿色,
和红色,分别为像素。
颜色
颜色表用于优化使用的颜色 on
基于调色板的设备,必须包含
ColorUsed
BitmapInfoHeader对象的字段。
我不能明白: 颜色 字段的DIB是 NUL L
< span style ="font-family:Verdana; text-decoration:下划线"> 颜色 color
表用于优化使用的颜色,
但颜色为空?
如何实现" 优化
使用的颜色 on 基于调色板的设备",类似于
BI_BITCOUNT_4和 BI_BITCOUNT_6,请举例说明。
也类似于2.2.2.3 BitmapInfoHeader对象的ColorUsed(4字节)字段。
感谢您提出这个问题。我们的一位工程师将很快跟进。
问候,
Edgar
Hello,
In the MS-WMF specification i look:
2.1.1.3 BitCount Enumeration
BI_BITCOUNT_5:
The bitmap has a maximum of 2^24 colors, and
the Colors
field of DIB is
NULL.
Each 3-byte triplet in the bitmap array represents the relative intensities of blue, green,
and red, respectively, for a pixel.
The Colors
color table is used for optimizing colors used on
palette-based devices, and MUST contain the number of entries specified by the
ColorUsed
field of the BitmapInfoHeader Object.
I can not understand: Colors field of DIB is NULL
and The Colors color
table is used for optimizing colors used,
but Colors is null?
And how to implement "optimizing colors used on palette-based devices", similary in BI_BITCOUNT_4 and BI_BITCOUNT_6, explain with an example please.
Also similary ColorUsed (4 bytes) field of the 2.2.2.3 BitmapInfoHeader Object.Hi,
Thank you for this question. One of our engineers will follow-up soon.
Regards,
Edgar
这篇关于如何理解Wmf BitCount枚举BI_BITCOUNT_5?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!