Package com.ardor3d.image.util
Interface ImageLoader
- All Known Implementing Classes:
AbiLoader
,AWTImageLoader
,DdsLoader
,JoglImageLoader
,JoglTgaImageLoader
,TgaLoader
public interface ImageLoader
Interface for image loaders. Implementing classes can be registered with the TextureManager to decode image formats
with a certain file extension.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionload
(InputStream is, boolean flipped) Decodes image data from an InputStream.
-
Method Details
-
load
Decodes image data from an InputStream.- Parameters:
is
- The InputStream to create the image from. The input stream should be closed before this method returns.flipped
-true
if the image is vertically flipped- Returns:
- The decoded Image.
- Throws:
IOException
- if something wrong occurs while loading the image from the input stream
-