Classe 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
| Name | Type | Access | Description |
|---|---|---|---|
| BITMAP_CORE_HEADER_SIZE [static] | int | r | La taille de l’en-tête BITMAPCOREHEADER également appelé OS21XBITMAPHEADER |
| BITMAP_INFO_HEADER_SIZE [static] | int | r | La taille de l’en-tête d’information bitmap v3 |
| BITMAP_INFO_HEADER_SIZE_V2 [static] | int | r | La taille de l’en-tête d’information bitmap v2 |
| BITMAP_INFO_HEADER_SIZE_V3 [static] | int | r | La taille de l’en-tête d’information bitmap v3 |
| BITMAP_INFO_HEADER_SIZE_V4 [static] | int | r | La taille de l’en-tête d’information bitmap v4 |
| BITMAP_INFO_HEADER_SIZE_V5 [static] | int | r | La taille de l’en-tête d’information du bitmap v5 |
| OS_22X_BITMAP_HEADER_FULL_SIZE [static] | int | r | La taille de l’en-tête principal du bitmap2 |
| OS_22X_BITMAP_HEADER_SIZE [static] | int | r | La taille de l’en-tête principal du bitmap2 |
| alpha_mask | int | r/w | Obtient ou définit le masque de couleur qui spécifie le composant alpha de chaque pixel. |
| bitmap_colors_important | int | r/w | Obtient ou définit le nombre de couleurs de palette importantes. |
| bitmap_colors_used | int | r/w | Obtient ou définit le nombre de couleurs de palette utilisées. |
| bitmap_compression | int | r/w | Obtient ou définit la compression du bitmap. |
| bitmap_height | int | r/w | Obtient ou définit la hauteur du bitmap. |
| bitmap_image_size | int | r/w | Obtient ou définit la taille des données brutes du bitmap en octets. |
| bitmap_planes | int | r/w | Obtient ou définit le nombre de plans. |
| bitmap_width | int | r/w | Obtient ou définit la largeur du bitmap. |
| bitmap_x_pels_per_meter | int | r/w | Obtient ou définit la résolution horizontale en pixels. |
| bitmap_y_pels_per_meter | int | r/w | Obtient ou définit la résolution verticale en pixels. |
| bits_per_pixel | int | r/w | Obtient ou définit le nombre de bits par pixel. |
| blue_mask | int | r/w | Obtient ou définit le masque de couleur qui spécifie le composant bleu de chaque pixel, valable uniquement si bV4Compression est défini sur BI_BITFIELDS. |
| cs_type | int | r/w | Obtient ou définit l’espace colorimétrique du DIB. |
| endpoints | CieCoordinatesTriple | r/w | Obtient ou définit la classe CoordinatesTriple. |
| extra_bit_masks | int[] | r/w | Obtient ou définit les masques de bits supplémentaires. Présent uniquement lorsque l’en-tête DIB est le BITMAPINFOHEADER et que BitmapInfoHeader.bitmap_compression est défini sur soit BitmapCompression.BITFIELDS (RGB) ou BitmapCompression.ALPHA_BITFIELDS (RGBA). |
| gamma_blue | int | r/w | Obtient ou définit le gamma bleu. |
| gamma_green | int | r/w | Obtient ou définit le gamma vert. |
| gamma_red | int | r/w | Obtient ou définit le gamma rouge. |
| green_mask | int | r/w | Obtient ou définit le masque de couleur qui spécifie le composant vert de chaque pixel, valable uniquement si bV4Compression est défini sur BI_BITFIELDS. |
| header_size | int | r/w | Obtient ou définit la taille de cette structure en octets. |
| intent | int | r/w | Obtient ou définit l’intention de rendu pour le bitmap. |
| profile_data | int | r/w | Obtient ou définit les données du profil. |
| profile_size | int | r/w | Obtient ou définit la taille du profil. |
| red_mask | int | r/w | Obtient ou définit le masque de couleur qui spécifie le composant rouge de chaque pixel, valable uniquement si bV4Compression est défini sur BI_BITFIELDS. |
| réservé | int | r/w | Obtient ou définit le membre réservé. |