All Packages  Class Hierarchy  This Package  Previous  Next  Index


Class Acme.JPM.Encoders.PpmEncoder

java.lang.Object
   |
   +----Acme.JPM.Encoders.ImageEncoder
           |
           +----Acme.JPM.Encoders.PpmEncoder

public class PpmEncoder
extends ImageEncoder
Write out an image as a PPM.

Writes an image onto a specified OutputStream in the PPM file format.

Fetch the software.
Fetch the entire Acme package.

See Also:
ToPpm

Constructor Index

 o PpmEncoder(Image, OutputStream)
Constructor.
 o PpmEncoder(ImageProducer, OutputStream)
Constructor.

Constructors

 o PpmEncoder
 public PpmEncoder(Image img,
                   OutputStream out) throws IOException
Constructor.

Parameters:
img - The image to encode.
out - The stream to write the PPM to.
 o PpmEncoder
 public PpmEncoder(ImageProducer prod,
                   OutputStream out) throws IOException
Constructor.

Parameters:
prod - The ImageProducer to encode.
out - The stream to write the PPM to.

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs