public abstract class GifHandlerBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BufferedImage |
m_bi |
protected AnimGifDecoder |
m_gd |
protected int |
m_h |
protected GifImaMeta |
m_im |
protected int |
m_interlace_phase |
protected int |
m_out_e |
protected int |
m_out_o |
protected int |
m_type |
protected int |
m_w |
protected int |
m_x |
protected int |
m_y |
| Constructor and Description |
|---|
GifHandlerBase(AnimGifDecoder gd,
GifImaMeta im,
int type) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getOffset() |
protected int |
getRunMax()
Returns the #of pixels that can be written in one go, before end-of-line
processing has to take place.
|
protected int |
getX() |
protected int |
getY() |
protected void |
incrementPos(int nwritten)
Increments the pixel position for when n pixels are written.
|
protected abstract void |
pixels(byte[] pix,
int len)
Called when a new set of pixels is available.
|
protected abstract BufferedImage |
prepare()
Called when the image-to-decode's metadata is known and decoding will
commence.
|
protected AnimGifDecoder m_gd
protected GifImaMeta m_im
protected int m_type
protected BufferedImage m_bi
protected int m_interlace_phase
protected int m_out_o
protected int m_x
protected int m_y
protected int m_out_e
protected int m_w
protected int m_h
public GifHandlerBase(AnimGifDecoder gd, GifImaMeta im, int type)
protected int getRunMax()
protected void incrementPos(int nwritten)
protected int getOffset()
protected int getX()
protected int getY()
protected abstract BufferedImage prepare() throws IOException
IOExceptionprotected abstract void pixels(byte[] pix,
int len)
throws IOException
IOExceptionCopyright © 2017 etc.to. All rights reserved.