BmpHeaderPackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage

public final class BmpHeaderPackage extends CustomPackage

Represents BMP header info.

Learn more

Methods

Method Description
getHeaderSize() Gets the size of the header in bytes.
getBitsPerPixel() Gets the bits per pixel value.
getImageSize() Gets the bitmap raw data size in bytes.
getPlanes() Gets the number of planes.
getColorsImportant() Gets the number of important palette colors.

getHeaderSize()

public final long getHeaderSize()

Gets the size of the header in bytes.

Returns: long - The size of the header in bytes.

getBitsPerPixel()

public final int getBitsPerPixel()

Gets the bits per pixel value.

Returns: int - The bits per pixel value.

getImageSize()

public final long getImageSize()

Gets the bitmap raw data size in bytes.

Returns: long - The bitmap raw data size in bytes.

getPlanes()

public final int getPlanes()

Gets the number of planes.

Returns: int - The number of planes.

getColorsImportant()

public final long getColorsImportant()

Gets the number of important palette colors.

Returns: long - The number of important palette colors.