com.moesol.bindings.platform_sdk.windows_api
Class BITMAPFILEHEADER

java.lang.Object
  extended by com.moesol.bindings.NativeStructure
      extended by com.moesol.bindings.platform_sdk.windows_api.BITMAPFILEHEADER
All Implemented Interfaces:
Comparable

public class BITMAPFILEHEADER
extends NativeStructure


Field Summary
static short BM
           
 
Constructor Summary
BITMAPFILEHEADER()
           
 
Method Summary
 int get_bfOffBits()
           
 short get_bfReserved1()
           
 short get_bfReserved2()
           
 int get_bfSize()
           
 short get_bfType()
           
 void set_bfOffBits(int v)
           
 void set_bfReserved1(short v)
           
 void set_bfReserved2(short v)
           
 void set_bfSize(int v)
           
 void set_bfType(short v)
           
static int sizeof()
           
static void writeBmp(BufferedImage buffered_image, OutputStream os)
          Write a 32 bit bmp file.
 
Methods inherited from class com.moesol.bindings.NativeStructure
_getByteBuffer, _getStructureBytes, clearRecord, compareTo, equals, freeLpwstr, getArray, getBool, getBOOLArray, getBstr, getBSTRArray, getBstrArray, getByte, getBYTEArray, getByteArray, getByteBuffer, getByteSize, getByteString, getDate, getDouble, getDOUBLEArray, getDoubleArray, getDoubleSize, getFloat, getFLOATArray, getFloatArray, getFloatSize, getInt, getINTArray, getIntArray, getInterface, getIntSize, getLong, getLONGArray, getLongSize, getLpwstr, getPtrInt, getPtrShort, getPtrShortString, getPtrStruct, getPtrUnsignedByte, getPtrUnsignedShort, getPtrVariant, getPtrvoid, getRemaining, getSCODE, getShort, getSHORTArray, getShortArray, getShortSize, getSlice, getSlice, getString, getStruct, getStruct, getStructArray, getUINTArray, getUnsignedByte, getUnsignedByteArray, getUnsignedByteSize, getUnsignedInt, getUnsignedIntArray, getUnsignedIntSize, getUnsignedLongLong, getUnsignedLongSize, getUnsignedShort, getUnsignedShortArray, getUnsignedShortSize, getUSHORTArray, getVariant, getVARIANTArray, hashCode, order, order, putArray, putBool, putBOOLArray, putBstr, putBstrArray, putBSTRArray, putByte, putByteArray, putBYTEArray, putByteString, putDate, putDouble, putDOUBLEArray, putDoubleArray, putFloat, putFLOATArray, putFloatArray, putInt, putINTArray, putIntArray, putInterface, putLong, putLONGArray, putLpwstr, putPtrInt, putPtrShort, putPtrShortString, putPtrStruct, putPtrUnsignedByte, putPtrUnsignedShort, putPtrVariant, putPtrvoid, putSCODE, putShort, putShortArray, putSHORTArray, putString, putStruct, putStruct, putStructArray, putUINTArray, putUnsignedByte, putUnsignedByteArray, putUnsignedInt, putUnsignedIntArray, putUnsignedLongLong, putUnsignedShort, putUnsignedShortArray, putUSHORTArray, putVariant, putVARIANTArray, stringFromC, stringFromC, zero
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BM

public static final short BM
See Also:
Constant Field Values
Constructor Detail

BITMAPFILEHEADER

public BITMAPFILEHEADER()
Method Detail

writeBmp

public static void writeBmp(BufferedImage buffered_image,
                            OutputStream os)
                     throws IOException
Write a 32 bit bmp file. This method does not close the output stream os so that it is possible to write multiple images into the stream.

Parameters:
buffered_image -
os -
Throws:
IOException

sizeof

public static int sizeof()

set_bfType

public void set_bfType(short v)

get_bfType

public short get_bfType()

set_bfSize

public void set_bfSize(int v)

get_bfSize

public int get_bfSize()

set_bfReserved1

public void set_bfReserved1(short v)

get_bfReserved1

public short get_bfReserved1()

set_bfReserved2

public void set_bfReserved2(short v)

get_bfReserved2

public short get_bfReserved2()

set_bfOffBits

public void set_bfOffBits(int v)

get_bfOffBits

public int get_bfOffBits()


Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.