Class marimba.desktop.BMP
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class marimba.desktop.BMP

java.lang.Object
   |
   +----java.awt.image.ImageFilter
           |
           +----java.awt.image.RGBImageFilter
                   |
                   +----marimba.desktop.BMP

public final class BMP
extends RGBImageFilter
implements ImageObserver
Convert an Image to a BMP. This is very hairy stuff.
Version:
1.3, 11/29/96
Author:
Arthur van Hoff

Method Index

 o clone()
I have no clue why I have to put this here, but if I take this out the image infra structure clones my filter and I loose my data.
 o filterRGB(int, int, int)
Handle incoming pixels.
 o imageUpdate(Image, int, int, int, int, int)
Update the image.
 o img2bmp(Image, OutputStream)
Convert a image 2 a BMP file.
 o main(String[])
Convert an image to BMP

Methods

 o img2bmp
  public static boolean img2bmp(Image img,
                                OutputStream out) throws IOException
Convert a image 2 a BMP file.
 o filterRGB
  public int filterRGB(int x,
                       int y,
                       int rgb)
Handle incoming pixels.
Overrides:
filterRGB in class RGBImageFilter
 o imageUpdate
  public synchronized boolean imageUpdate(Image img,
                                          int flags,
                                          int x,
                                          int y,
                                          int width,
                                          int height)
Update the image. If the width/height arrives start preparing the in memory images. When the image is done then starting outputting the pixels.
 o clone
  public Object clone()
I have no clue why I have to put this here, but if I take this out the image infra structure clones my filter and I loose my data.
Overrides:
clone in class ImageFilter
 o main
  public static void main(String argv[]) throws MalformedURLException, IOException
Convert an image to BMP

All Packages  Class Hierarchy  This Package  Previous  Next  Index