jfract V1.0a

org.jfract.util
Class BmpWriter

java.lang.Object
  |
  +--org.jfract.util.BmpWriter

public class BmpWriter
extends java.lang.Object


Field Summary
protected  short bitCount
           
protected  int colorImportant
           
protected  int colorUsed
           
protected  int compression
           
protected  int dataOffset
           
(package private)  java.io.DataOutputStream dos
           
protected  int fileSize
           
protected  int headerSize
           
protected  int heigth
           
protected  int imageSize
           
private static org.apache.log4j.Category log4j_category
           
protected  byte[] palette
           
protected  short planes
           
(package private) static int RESERVED
           
(package private) static byte[] SIGN
           
(package private) static int SIZE
           
protected  int width
           
protected  byte[] xPixelsM
           
protected  byte[] yPixelsM
           
 
Constructor Summary
BmpWriter(java.lang.String s)
           
 
Method Summary
 void close()
           
 int invertInt(int taille)
           
 short invertShort(short taille)
           
 void printHeader()
           
 void printPix(int valeur)
           
 void printTrailer()
           
 void setPalette(byte[] palette)
           
 void setSize(int width, int heigth)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

log4j_category

private static final org.apache.log4j.Category log4j_category

SIGN

static final byte[] SIGN

fileSize

protected int fileSize

RESERVED

static final int RESERVED

dataOffset

protected int dataOffset

headerSize

protected int headerSize

SIZE

static final int SIZE

width

protected int width

heigth

protected int heigth

planes

protected short planes

bitCount

protected short bitCount

compression

protected int compression

imageSize

protected int imageSize

xPixelsM

protected byte[] xPixelsM

yPixelsM

protected byte[] yPixelsM

colorUsed

protected int colorUsed

colorImportant

protected int colorImportant

palette

protected byte[] palette

dos

java.io.DataOutputStream dos
Constructor Detail

BmpWriter

public BmpWriter(java.lang.String s)
Method Detail

setSize

public void setSize(int width,
                    int heigth)

invertInt

public int invertInt(int taille)

invertShort

public short invertShort(short taille)

setPalette

public void setPalette(byte[] palette)

close

public void close()

printHeader

public void printHeader()

printPix

public void printPix(int valeur)

printTrailer

public void printTrailer()

jfract V1.0a

Generee le 27.09.2002 08:21:59 PM