BitmapV5Header Class

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

Aspose.Imaging Version: 24.5.0

Properties

NameTypeAccessDescription
BITMAP_CORE_HEADER_SIZE [static]intrThe BITMAPCOREHEADER aka OS21XBITMAPHEADER header size
BITMAP_INFO_HEADER_SIZE [static]intrThe bitmap information header size v3
BITMAP_INFO_HEADER_SIZE_V2 [static]intrThe bitmap information header size v2
BITMAP_INFO_HEADER_SIZE_V3 [static]intrThe bitmap information header size v3
BITMAP_INFO_HEADER_SIZE_V4 [static]intrThe bitmap information header size v4
BITMAP_INFO_HEADER_SIZE_V5 [static]intrThe bitmap information header size v5
OS_22X_BITMAP_HEADER_FULL_SIZE [static]intrThe bitmap core header2 size
OS_22X_BITMAP_HEADER_SIZE [static]intrThe bitmap core header2 size
alpha_maskintr/wGets or sets the color mask that specifies the alpha component of each pixel.
bitmap_colors_importantuintr/wGets or sets number of important palette colors.
bitmap_colors_useduintr/wGets or sets number of palette colors used.
bitmap_compressionuintr/wGets or sets bitmap compression.
bitmap_heightintr/wGets or sets bitmap height.
bitmap_image_sizeuintr/wGets or sets specifies bitmap raw data size in bytes.
bitmap_planesushortr/wGets or sets number of planes.
bitmap_widthintr/wGets or sets bitmap width.
bitmap_x_pels_per_meterintr/wGets or sets horizontal pixels resolution.
bitmap_y_pels_per_meterintr/wGets or sets vertical pixels resolution.
bits_per_pixelushortr/wGets or sets bits per pixel count.
blue_maskintr/wGets or sets the color mask that specifies the blue component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
cs_typeintr/wGets or sets the color space of the DIB.
endpointsCieCoordinatesTripler/wGets or sets the CoordinatesTriple class.
extra_bit_masksintr/wGets or sets the extra bit masks.
Present only in case the DIB header is the BITMAPINFOHEADER and the BitmapInfoHeader.bitmap_compression is set to either BitmapCompression.BITFIELDS (RGB) or BitmapCompression.ALPHA_BITFIELDS (RGBA).
gamma_blueintr/wGets or sets the gamma blue.
gamma_greenintr/wGets or sets the gamma green.
gamma_redintr/wGets or sets the gamma red.
green_maskintr/wGets or sets the color mask that specifies the green component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
header_sizeuintr/wGets or sets size of this structure in bytes.
intentlongr/wGets or sets the rendering intent for bitmap.
profile_datalongr/wGets or sets the profile data.
profile_sizelongr/wGets or sets the size of the profile.
red_maskintr/wGets or sets the color mask that specifies the red component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
reservedlongr/wGets or sets the reserved member.