com.sun.jimi.core.decoder.gif
Class GIFColorTable

java.lang.Object
  |
  +--com.sun.jimi.core.decoder.gif.GIFColorTable

public class GIFColorTable
extends java.lang.Object

GIF Color Table loader. Provides a constructor to create a default color map if none are present to load.


Constructor Summary
GIFColorTable(int numBitsColorTable)
          This creates a color table with a default color palette for use by images that done specify a color map.
GIFColorTable(LEDataInputStream in, int numBitsColorTable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GIFColorTable

public GIFColorTable(LEDataInputStream in,
                     int numBitsColorTable)
              throws java.io.IOException

GIFColorTable

public GIFColorTable(int numBitsColorTable)
              throws java.io.IOException
This creates a color table with a default color palette for use by images that done specify a color map. The color map contains first color white, second color black and the remainder is a range of greyscales from black to white.