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
-
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.
-
filterRGB(int, int, int)
- Handle incoming pixels.
-
imageUpdate(Image, int, int, int, int, int)
- Update the image.
-
img2bmp(Image, OutputStream)
- Convert a image 2 a BMP file.
-
main(String[])
- Convert an image to BMP
img2bmp
public static boolean img2bmp(Image img,
OutputStream out) throws IOException
- Convert a image 2 a BMP file.
filterRGB
public int filterRGB(int x,
int y,
int rgb)
- Handle incoming pixels.
- Overrides:
- filterRGB in class RGBImageFilter
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.
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
main
public static void main(String argv[]) throws MalformedURLException, IOException
- Convert an image to BMP
All Packages Class Hierarchy This Package Previous Next Index