All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----picture.ImageEncoder
|
+----picture.JpegEncoder
Fetch the software.
Fetch the entire Acme package.
int qfactor
int width
int height
int rgbPixels[][]
private static byte jfifHuff100Header[]
private static byte jfifNoHuff100Header[]
public JpegEncoder(Image img,
OutputStream out) throws IOException
public JpegEncoder(ImageProducer prod,
OutputStream out) throws IOException
public void setQfactor(int qfactor)
void encodeStart(int width,
int height) throws IOException
void encodePixels(int x,
int y,
int w,
int h,
int rgbPixels[],
int off,
int scansize) throws IOException
void encodeDone() throws IOException
private void writeJfifHuffHeader() throws IOException
private void writeJfifNoHuffHeader() throws IOException
All Packages Class Hierarchy This Package Previous Next Index