英特內軟體股份有限公司


jcx.util
Class bmp

java.lang.Object
  |
  +--jcx.util.bmp
All Implemented Interfaces:
java.awt.image.ImageObserver

public class bmp
extends java.lang.Object
implements java.awt.image.ImageObserver


Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
bmp()
           
 
Method Summary
 byte[][] convert_body()
           
 void convert()
           
 void convertToGray()
           
 byte[][] getBody()
           
 byte[][] getGrayBody()
           
 java.awt.Image getImage()
           
 boolean imageUpdate(java.awt.Image img, int infoflags, int x, int y, int width, int height)
           
static void main(java.lang.String[] args)
           
 boolean open(byte[] data)
           
 boolean open(java.lang.String filename)
           
 void set_convert_body(byte[][] bb)
           
 void setBody(byte[][] bb)
           
 void show()
           
 void trans_To_24bits()
           
 void trans_To_8bits()
           
 void writeBitmap(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

bmp

public bmp()
Method Detail

imageUpdate

public boolean imageUpdate(java.awt.Image img,
                           int infoflags,
                           int x,
                           int y,
                           int width,
                           int height)
Specified by:
imageUpdate in interface java.awt.image.ImageObserver

open

public boolean open(java.lang.String filename)

open

public boolean open(byte[] data)

convert

public void convert()

getBody

public byte[][] getBody()

convertToGray

public void convertToGray()

getGrayBody

public byte[][] getGrayBody()

setBody

public void setBody(byte[][] bb)

trans_To_8bits

public void trans_To_8bits()

convert_body

public byte[][] convert_body()

set_convert_body

public void set_convert_body(byte[][] bb)

trans_To_24bits

public void trans_To_24bits()

writeBitmap

public void writeBitmap(java.lang.String filename)
                 throws java.io.IOException

getImage

public java.awt.Image getImage()

show

public void show()

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException

英特內軟體股份有限公司