public class GIFEncoder extends ImageEncoder
out, propsCOMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT| Constructor and Description | 
|---|
| GIFEncoder(Image img,
          DataOutput dos) | 
| GIFEncoder(Image img,
          DataOutput dos,
          boolean interlace) | 
| GIFEncoder(Image img,
          OutputStream out) | 
| GIFEncoder(Image img,
          OutputStream out,
          boolean interlace) | 
| GIFEncoder(ImageProducer prod,
          DataOutput dos) | 
| GIFEncoder(ImageProducer prod,
          DataOutput dos,
          boolean interlace) | 
| GIFEncoder(ImageProducer prod,
          OutputStream out) | 
| GIFEncoder(ImageProducer prod,
          OutputStream out,
          boolean interlace) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | encodeDone() | 
| protected void | encodePixels(int x,
            int y,
            int w,
            int h,
            int[] rgbPixels,
            int off,
            int scansize) | 
| protected void | encodeStart(int width,
           int height) | 
| void | setComment(String comment) | 
encode, imageComplete, setColorModel, setDimensions, setHints, setPixels, setPixels, setPropertiespublic GIFEncoder(Image img, OutputStream out) throws IOException
IOExceptionpublic GIFEncoder(Image img, DataOutput dos) throws IOException
IOExceptionpublic GIFEncoder(Image img, OutputStream out, boolean interlace) throws IOException
IOExceptionpublic GIFEncoder(Image img, DataOutput dos, boolean interlace) throws IOException
IOExceptionpublic GIFEncoder(ImageProducer prod, OutputStream out) throws IOException
IOExceptionpublic GIFEncoder(ImageProducer prod, DataOutput dos) throws IOException
IOExceptionpublic GIFEncoder(ImageProducer prod, OutputStream out, boolean interlace) throws IOException
IOExceptionpublic GIFEncoder(ImageProducer prod, DataOutput dos, boolean interlace) throws IOException
IOExceptionpublic void setComment(String comment)
protected void encodeStart(int width,
               int height)
                    throws IOException
encodeStart in class ImageEncoderIOExceptionprotected void encodePixels(int x,
                int y,
                int w,
                int h,
                int[] rgbPixels,
                int off,
                int scansize)
                     throws IOException
encodePixels in class ImageEncoderIOExceptionprotected void encodeDone()
                   throws IOException
encodeDone in class ImageEncoderIOExceptionCopyright © 2014. All rights reserved.