| java.lang.Object com.sun.media.jai.codec.ImageEncoderImpl com.sun.media.jai.codecimpl.JPEGImageEncoder
JPEGImageEncoder | public class JPEGImageEncoder extends ImageEncoderImpl (Code) | | An ImageEncoder for the JPEG (JFIF) file format.
The common cases of single band grayscale and three or four band RGB images
are handled so as to minimize the amount of information required of the
programmer. See the comments pertaining to the constructor and the
writeToStream() method for more detailed information.
since: EA2 |
Method Summary | |
public void | encode(RenderedImage im) Encodes a RenderedImage and writes the output to the
OutputStream associated with this ImageEncoder. | static void | modifyEncodeParam(JPEGEncodeParam jaiEP, com.sun.image.codec.jpeg.JPEGEncodeParam j2dEP, int nbands) |
encode | public void encode(RenderedImage im) throws IOException(Code) | | Encodes a RenderedImage and writes the output to the
OutputStream associated with this ImageEncoder.
|
modifyEncodeParam | static void modifyEncodeParam(JPEGEncodeParam jaiEP, com.sun.image.codec.jpeg.JPEGEncodeParam j2dEP, int nbands)(Code) | | |
|
|