|
FreeHEP API Version v1.2.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.freehep.graphicsio.ppm.ImageEncoder
|
+--org.freehep.graphicsio.ppm.PPMEncoder
| Field Summary |
| Fields inherited from class org.freehep.graphicsio.ppm.ImageEncoder |
out |
| Fields inherited from interface java.awt.image.ImageConsumer |
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT |
| Constructor Summary | |
PPMEncoder(Image img,
DataOutput dos)
|
|
PPMEncoder(Image img,
OutputStream out)
|
|
PPMEncoder(ImageProducer prod,
DataOutput dos)
|
|
PPMEncoder(ImageProducer prod,
OutputStream out)
|
|
| Method Summary | |
void |
addComment(String comment)
|
protected void |
encodeDone()
|
protected void |
encodePixels(int x,
int y,
int w,
int h,
int[] rgbPixels,
int off,
int scansize)
|
protected void |
encodeStart(int width,
int height)
|
| Methods inherited from class org.freehep.graphicsio.ppm.ImageEncoder |
encode, imageComplete, setColorModel, setDimensions, setHints, setPixels, setPixels, setProperties |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PPMEncoder(Image img,
OutputStream out)
throws IOException
public PPMEncoder(Image img,
DataOutput dos)
throws IOException
public PPMEncoder(ImageProducer prod,
OutputStream out)
throws IOException
public PPMEncoder(ImageProducer prod,
DataOutput dos)
throws IOException
| Method Detail |
public void addComment(String comment)
protected void encodeStart(int width,
int height)
throws IOException
encodeStart in class ImageEncoderIOException
protected void encodePixels(int x,
int y,
int w,
int h,
int[] rgbPixels,
int off,
int scansize)
throws IOException
encodePixels in class ImageEncoderIOException
protected void encodeDone()
throws IOException
encodeDone in class ImageEncoderIOException
|
FreeHEP API Version v1.2.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||