public class BitmapInfoHeader extends Object
Specifies bitmap info header v3.
Modifier and Type | Field and Description |
---|---|
static int |
BITMAP_INFO_HEADER_SIZE
The bitmap information header size v3
|
static int |
BITMAP_INFO_HEADER_SIZE_V_4
The bitmap information header size v4
|
static int |
BITMAP_INFO_HEADER_SIZE_V_5
The bitmap information header size v5
|
Constructor and Description |
---|
BitmapInfoHeader()
Initializes a new instance of the
BitmapInfoHeader class. |
BitmapInfoHeader(byte[] bytes)
Initializes a new instance of the
BitmapInfoHeader class. |
Modifier and Type | Method and Description |
---|---|
long |
getBitmapColorsImportant()
Gets or sets number of important palette colors.
|
long |
getBitmapColorsUsed()
Gets or sets number of palette colors used.
|
long |
getBitmapCompression()
Gets or sets bitmap compression.
|
int |
getBitmapHeight()
Gets or sets bitmap height.
|
long |
getBitmapImageSize()
Gets or sets specifies bitmap raw data size in bytes.
|
int |
getBitmapPlanes()
Gets or sets number of planes.
|
int |
getBitmapWidth()
Gets or sets bitmap width.
|
int |
getBitmapXPelsPerMeter()
Gets or sets horizontal pixels resolution.
|
int |
getBitmapYPelsPerMeter()
Gets or sets vertical pixels resolution.
|
int |
getBitsPerPixel()
Gets or sets bits per pixel count.
|
long |
getHeaderSize()
Gets or sets size of this structure in bytes.
|
void |
setBitmapColorsImportant(long value)
Gets or sets number of important palette colors.
|
void |
setBitmapColorsUsed(long value)
Gets or sets number of palette colors used.
|
void |
setBitmapCompression(long value)
Gets or sets bitmap compression.
|
void |
setBitmapHeight(int value)
Gets or sets bitmap height.
|
void |
setBitmapImageSize(long value)
Gets or sets specifies bitmap raw data size in bytes.
|
void |
setBitmapPlanes(int value)
Gets or sets number of planes.
|
void |
setBitmapWidth(int value)
Gets or sets bitmap width.
|
void |
setBitmapXPelsPerMeter(int value)
Gets or sets horizontal pixels resolution.
|
void |
setBitmapYPelsPerMeter(int value)
Gets or sets vertical pixels resolution.
|
void |
setBitsPerPixel(int value)
Gets or sets bits per pixel count.
|
void |
setHeaderSize(long value)
Gets or sets size of this structure in bytes.
|
public static final int BITMAP_INFO_HEADER_SIZE
The bitmap information header size v3
public static final int BITMAP_INFO_HEADER_SIZE_V_4
The bitmap information header size v4
public static final int BITMAP_INFO_HEADER_SIZE_V_5
The bitmap information header size v5
public BitmapInfoHeader()
Initializes a new instance of the BitmapInfoHeader
class.
public BitmapInfoHeader(byte[] bytes)
Initializes a new instance of the BitmapInfoHeader
class.
bytes
- The bytes.public long getHeaderSize()
Gets or sets size of this structure in bytes.
public void setHeaderSize(long value)
Gets or sets size of this structure in bytes.
public int getBitmapWidth()
Gets or sets bitmap width.
public void setBitmapWidth(int value)
Gets or sets bitmap width.
public int getBitmapHeight()
Gets or sets bitmap height.
public void setBitmapHeight(int value)
Gets or sets bitmap height.
public int getBitmapPlanes()
Gets or sets number of planes.
public void setBitmapPlanes(int value)
Gets or sets number of planes.
public int getBitsPerPixel()
Gets or sets bits per pixel count.
public void setBitsPerPixel(int value)
Gets or sets bits per pixel count.
public long getBitmapCompression()
Gets or sets bitmap compression.
public void setBitmapCompression(long value)
Gets or sets bitmap compression.
public long getBitmapImageSize()
Gets or sets specifies bitmap raw data size in bytes.
public void setBitmapImageSize(long value)
Gets or sets specifies bitmap raw data size in bytes.
public int getBitmapXPelsPerMeter()
Gets or sets horizontal pixels resolution.
public void setBitmapXPelsPerMeter(int value)
Gets or sets horizontal pixels resolution.
public int getBitmapYPelsPerMeter()
Gets or sets vertical pixels resolution.
public void setBitmapYPelsPerMeter(int value)
Gets or sets vertical pixels resolution.
public long getBitmapColorsUsed()
Gets or sets number of palette colors used.
public void setBitmapColorsUsed(long value)
Gets or sets number of palette colors used.
public long getBitmapColorsImportant()
Gets or sets number of important palette colors.
public void setBitmapColorsImportant(long value)
Gets or sets number of important palette colors.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.