org.xwt.translators
Class GIF

java.lang.Object
  extended byorg.xwt.translators.GIF

public class GIF
extends java.lang.Object

Converts an InputStream carrying a GIF image into an ARGB int[]


Constructor Summary
GIF()
           
 
Method Summary
 Picture fromInputStream(java.io.InputStream is, java.lang.String name)
          Processes an image from InputStream is; returns null if there is an error
 int[] getData()
           
 int getHeight()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GIF

public GIF()
Method Detail

getData

public int[] getData()

getWidth

public int getWidth()

getHeight

public int getHeight()

fromInputStream

public Picture fromInputStream(java.io.InputStream is,
                               java.lang.String name)
Processes an image from InputStream is; returns null if there is an error

Parameters:
name - A string describing the image; used for error reporting.