public class BMP_FileHeader
extends com.sun.jna.Structure
Modifier and Type | Class and Description |
---|---|
static class |
BMP_FileHeader.ByReference |
static class |
BMP_FileHeader.ByValue |
Modifier and Type | Field and Description |
---|---|
short |
bfFill1
remainder of the bfSize field
C type : l_int16 |
short |
bfFill2
remainder of the bfOffBits field
C type : l_int16 |
short |
bfOffBits
offset from beginning of file
C type : l_int16 |
short |
bfReserved1
don't care (set to 0)
C type : l_int16 |
short |
bfReserved2
don't care (set to 0)
C type : l_int16 |
short |
bfSize
length of the file;
sizeof(BMP_FileHeader) + sizeof(BMP_InfoHeader) + size of color table + size of DIB bits C type : l_int16 |
short |
bfType
file type; must be "BM"
C type : l_int16 |
Constructor and Description |
---|
BMP_FileHeader() |
BMP_FileHeader(com.sun.jna.Pointer peer) |
BMP_FileHeader(short bfType,
short bfSize,
short bfFill1,
short bfReserved1,
short bfReserved2,
short bfOffBits,
short bfFill2) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<?> |
getFieldOrder() |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public short bfType
public short bfSize
public short bfFill1
public short bfReserved1
public short bfReserved2
public short bfOffBits
public short bfFill2
public BMP_FileHeader()
public BMP_FileHeader(short bfType, short bfSize, short bfFill1, short bfReserved1, short bfReserved2, short bfOffBits, short bfFill2)
bfType
- file type; must be "BM"bfSize
- length of the file;bfFill1
- remainder of the bfSize fieldbfReserved1
- don't care (set to 0)bfReserved2
- don't care (set to 0)bfOffBits
- offset from beginning of filebfFill2
- remainder of the bfOffBits fieldpublic BMP_FileHeader(com.sun.jna.Pointer peer)