All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.JPM.Encoders.JpegEncoder

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

public class JpegEncoder
extends ImageEncoder
Write out an image as a JPEG. DOESN'T WORK YET.

Fetch the software.
Fetch the entire Acme package.

See Also:
ToJpeg

Constructor Index

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

Method Index

 o setQfactor(int)
Set the Q-factor.

Constructors

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

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

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

Methods

 o setQfactor
 public void setQfactor(int qfactor)
Set the Q-factor.


All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs