com.jme.util
Interface ImageLoader


public interface ImageLoader

Interface for image loaders. Implementing classes can be registerd with the TextureManager to decode image formats with a certain file extention.

Version:
$Id: ImageLoader.java 4131 2009-03-19 20:15:28Z blaine.dev $
Author:
Galun, Tijl Houtbeckers -- javadoc
See Also:
com.jme.util.TextureManager#addHandler(String, ImageLoader)

Method Summary
 Image load(java.io.InputStream is)
          Decodes image data from an InputStream.
 

Method Detail

load

Image load(java.io.InputStream is)
           throws java.io.IOException
Decodes image data from an InputStream.

Parameters:
is - The InputStream to create the image from. The inputstream should be closed before this method returns.
Returns:
The decoded Image.
Throws:
java.io.IOException