BitmapCoreHeader

Inheritance: java.lang.Object

public abstract class BitmapCoreHeader

Dimensions and color format of DIB. Header name BITMAPCOREHEADER aka OS21XBITMAPHEADER.

Constructors

ConstructorDescription
BitmapCoreHeader()

Fields

FieldDescription
BITMAP_CORE_HEADER_SIZEThe BITMAPCOREHEADER aka OS21XBITMAPHEADER header size
OS_22_X_BITMAP_HEADER_SIZEThe bitmap core header2 size
OS_22_X_BITMAP_HEADER_FULL_SIZEThe bitmap core header2 size
BITMAP_INFO_HEADER_SIZEThe bitmap information header size v3
BITMAP_INFO_HEADER_SIZE_V_2The bitmap information header size v2
BITMAP_INFO_HEADER_SIZE_V_3The bitmap information header size v3
BITMAP_INFO_HEADER_SIZE_V_4The bitmap information header size v4
BITMAP_INFO_HEADER_SIZE_V_5The bitmap information header size v5

Methods

MethodDescription
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:

ParameterTypeDescription
valuelong

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:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valueint