BitmapCoreHeader
Inheritance: java.lang.Object
public abstract class BitmapCoreHeader
Dimensions and color format of DIB. Header name BITMAPCOREHEADER aka OS21XBITMAPHEADER.
Constructors
Constructor | Description |
---|---|
BitmapCoreHeader() |
Fields
Field | Description |
---|---|
BITMAP_CORE_HEADER_SIZE | The BITMAPCOREHEADER aka OS21XBITMAPHEADER header size |
OS_22_X_BITMAP_HEADER_SIZE | The bitmap core header2 size |
OS_22_X_BITMAP_HEADER_FULL_SIZE | The bitmap core header2 size |
BITMAP_INFO_HEADER_SIZE | The bitmap information header size v3 |
BITMAP_INFO_HEADER_SIZE_V_2 | The bitmap information header size v2 |
BITMAP_INFO_HEADER_SIZE_V_3 | The bitmap information header size v3 |
BITMAP_INFO_HEADER_SIZE_V_4 | The bitmap information header size v4 |
BITMAP_INFO_HEADER_SIZE_V_5 | The bitmap information header size v5 |
Methods
Method | Description |
---|---|
getHeaderSize() | Gets or sets size of this structure in bytes. |
setHeaderSize(long value) | Gets or sets size of this structure in bytes. |
getBitmapWidth() | Gets or sets bitmap width. |
setBitmapWidth(int value) | Gets or sets bitmap width. |
getBitmapHeight() | Gets or sets bitmap height. |
setBitmapHeight(int value) | Gets or sets bitmap height. |
getBitmapPlanes() | Gets or sets number of planes. |
setBitmapPlanes(int value) | Gets or sets number of planes. |
getBitsPerPixel() | Gets or sets bits per pixel count. |
setBitsPerPixel(int value) | Gets or sets bits per pixel count. |
BitmapCoreHeader()
public BitmapCoreHeader()
BITMAP_CORE_HEADER_SIZE
public static final int BITMAP_CORE_HEADER_SIZE
The BITMAPCOREHEADER aka OS21XBITMAPHEADER header size
OS_22_X_BITMAP_HEADER_SIZE
public static final int OS_22_X_BITMAP_HEADER_SIZE
The bitmap core header2 size
OS_22_X_BITMAP_HEADER_FULL_SIZE
public static final int OS_22_X_BITMAP_HEADER_FULL_SIZE
The bitmap core header2 size
BITMAP_INFO_HEADER_SIZE
public static final int BITMAP_INFO_HEADER_SIZE
The bitmap information header size v3
BITMAP_INFO_HEADER_SIZE_V_2
public static final int BITMAP_INFO_HEADER_SIZE_V_2
The bitmap information header size v2
BITMAP_INFO_HEADER_SIZE_V_3
public static final int BITMAP_INFO_HEADER_SIZE_V_3
The bitmap information header size v3
BITMAP_INFO_HEADER_SIZE_V_4
public static final int BITMAP_INFO_HEADER_SIZE_V_4
The bitmap information header size v4
BITMAP_INFO_HEADER_SIZE_V_5
public static final int BITMAP_INFO_HEADER_SIZE_V_5
The bitmap information header size v5
getHeaderSize()
public long getHeaderSize()
Gets or sets size of this structure in bytes.
Returns: long
setHeaderSize(long value)
public void setHeaderSize(long value)
Gets or sets size of this structure in bytes.
Parameters:
Parameter | Type | Description |
---|---|---|
value | long |
getBitmapWidth()
public int getBitmapWidth()
Gets or sets bitmap width.
Returns: int
setBitmapWidth(int value)
public void setBitmapWidth(int value)
Gets or sets bitmap width.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getBitmapHeight()
public int getBitmapHeight()
Gets or sets bitmap height.
Returns: int
setBitmapHeight(int value)
public void setBitmapHeight(int value)
Gets or sets bitmap height.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getBitmapPlanes()
public int getBitmapPlanes()
Gets or sets number of planes.
Returns: int
setBitmapPlanes(int value)
public void setBitmapPlanes(int value)
Gets or sets number of planes.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getBitsPerPixel()
public int getBitsPerPixel()
Gets or sets bits per pixel count.
Returns: int
setBitsPerPixel(int value)
public void setBitsPerPixel(int value)
Gets or sets bits per pixel count.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |