artofillusion.image
Class BMPEncoder
java.lang.Object
artofillusion.image.BMPEncoder
public class BMPEncoder
- extends java.lang.Object
Method Summary |
void |
writeImage(java.io.DataOutputStream out)
Saves an image as a BMP file. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEADER_PART1
public static final int[] HEADER_PART1
HEADER_PART2
public static final int[] HEADER_PART2
HEADER_PART3
public static final int[] HEADER_PART3
IMAGE_WIDTH
public static final int IMAGE_WIDTH
- See Also:
- Constant Field Values
IMAGE_LENGTH
public static final int IMAGE_LENGTH
- See Also:
- Constant Field Values
IMAGE_START
public static final int IMAGE_START
- See Also:
- Constant Field Values
BMPEncoder
public BMPEncoder(java.awt.Image im)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
writeImage
public void writeImage(java.io.DataOutputStream out)
throws java.io.IOException
- Saves an image as a BMP file. The DataOutputStream is not closed.
- Throws:
java.io.IOException
Copyright © 1999-2011 by Peter Eastman.