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
-
JpegEncoder(Image, OutputStream)
- Constructor.
-
JpegEncoder(ImageProducer, OutputStream)
- Constructor.
-
setQfactor(int)
- Set the Q-factor.
JpegEncoder
public JpegEncoder(Image img,
OutputStream out) throws IOException
- Constructor.
- Parameters:
- img - The image to encode.
- out - The stream to write the JPEG to.
JpegEncoder
public JpegEncoder(ImageProducer prod,
OutputStream out) throws IOException
- Constructor.
- Parameters:
- prod - The ImageProducer to encode.
- out - The stream to write the JPEG to.
setQfactor
public void setQfactor(int qfactor)
- Set the Q-factor.
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs