BitmapV5Header 类

Summary: The BitmapV5Header structure is the bitmap information header file. It is an extended version of the BITMAPINFOHEADER structure.

If bV5Height is negative, indicating a top-down DIB, bV5Compression must be either BI_RGB or BI_BITFIELDS. Top-down DIBs cannot be compressed.
The Independent Color Management interface (ICM) 2.0 allows International Color Consortium (ICC) color profiles to be linked or embedded in DIBs (DIBs).
See Using Structures for more information. When a DIB is loaded into memory, the profile data (if present) should follow the color table,
and the bV5ProfileData should provide the offset of the profile data from the beginning of the BITMAPV5HEADER structure.
The value stored in bV5ProfileData will be different from the value returned by the sizeof operator given the BITMAPV5HEADER argument,
because bV5ProfileData is the offset in bytes from the beginning of the BITMAPV5HEADER structure to the start of the profile data.
(Bitmap bits do not follow the color table in memory). Applications should modify the bV5ProfileData member after loading the DIB into memory.
For packed DIBs, the profile data should follow the bitmap bits similar to the file format.
The bV5ProfileData member should still give the offset of the profile data from the beginning of the BITMAPV5HEADER.
Applications should access the profile data only when bV5Size equals the size of the BITMAPV5HEADER and bV5CSType equals PROFILE_EMBEDDED or PROFILE_LINKED.

Module: aspose.imaging.fileformats.bmp

Full Name: aspose.imaging.fileformats.bmp.BitmapV5Header

Inheritance: BitmapV4Header

Properties

NameTypeAccess描述
BITMAP_CORE_HEADER_SIZE [static]intrBITMAPCOREHEADER(亦称 OS21XBITMAPHEADER)头部大小
BITMAP_INFO_HEADER_SIZE [static]intr位图信息头大小 v3
BITMAP_INFO_HEADER_SIZE_V2 [static]intr位图信息头大小 v2
BITMAP_INFO_HEADER_SIZE_V3 [static]intr位图信息头大小 v3
BITMAP_INFO_HEADER_SIZE_V4 [static]intr位图信息头大小 v4
BITMAP_INFO_HEADER_SIZE_V5 [static]intr位图信息头大小 v5
OS_22X_BITMAP_HEADER_FULL_SIZE [static]intr位图核心 header2 大小
OS_22X_BITMAP_HEADER_SIZE [static]intr位图核心 header2 大小
alpha_maskintr/w获取或设置指定每个像素的 alpha 分量的颜色掩码。
bitmap_colors_importantintr/w获取或设置重要调色板颜色的数量。
bitmap_colors_usedintr/w获取或设置已使用的调色板颜色数量。
bitmap_compressionintr/w获取或设置位图压缩方式。
bitmap_heightintr/w获取或设置位图高度。
bitmap_image_sizeintr/w获取或设置位图原始数据大小(字节)。
bitmap_planesintr/w获取或设置平面的数量。
bitmap_widthintr/w获取或设置位图宽度。
bitmap_x_pels_per_meterintr/w获取或设置水平像素分辨率。
bitmap_y_pels_per_meterintr/w获取或设置垂直像素分辨率。
bits_per_pixelintr/w获取或设置每像素位数。
blue_maskintr/w获取或设置指定每个像素蓝色分量的颜色掩码,仅当 bV4Compression 设置为 BI_BITFIELDS 时有效。
cs_typeintr/w获取或设置 DIB 的颜色空间。
endpointsCieCoordinatesTripler/w获取或设置 CoordinatesTriple 类。
extra_bit_masksint[]r/w获取或设置额外的位掩码。
仅在 DIB 标头为 BITMAPINFOHEADER 且 BitmapInfoHeader.bitmap_compression 设置为 BitmapCompression.BITFIELDS(RGB)或 BitmapCompression.ALPHA_BITFIELDS(RGBA)时出现。
gamma_blueintr/w获取或设置蓝色伽马。
gamma_greenintr/w获取或设置绿色伽马。
gamma_redintr/w获取或设置红色伽马。
green_maskintr/w获取或设置指定每个像素绿色分量的颜色掩码,仅当 bV4Compression 设置为 BI_BITFIELDS 时有效。
header_sizeintr/w获取或设置此结构的字节大小。
intentintr/w获取或设置位图的渲染意图。
profile_dataintr/w获取或设置配置文件数据。
profile_sizeintr/w获取或设置配置文件的大小。
red_maskintr/w获取或设置指定每个像素红色分量的颜色掩码,仅当 bV4Compression 设置为 BI_BITFIELDS 时有效。
保留intr/w获取或设置保留成员。