|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jfig.utils.PPMWriter
construct and dump portable pixmap format (PPM raw) data from a Java image
Field Summary | |
(package private) boolean |
debug
|
(package private) int |
height
|
(package private) int |
maxvalue
|
(package private) int[] |
pixels
|
(package private) int |
width
|
Constructor Summary | |
PPMWriter()
|
Method Summary | |
static void |
main(java.lang.String[] argv)
main: load and display an PPM image. |
static void |
usage()
|
void |
writePPM(java.awt.Image image,
java.io.DataOutputStream stream)
construct PPM (raw) data from Image 'image' and dump the PPM data to "outputstream". |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
int width
int height
int maxvalue
int[] pixels
boolean debug
Constructor Detail |
public PPMWriter()
Method Detail |
public void writePPM(java.awt.Image image, java.io.DataOutputStream stream) throws java.lang.Exception
java.lang.Exception
public static void usage()
public static void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |