public Image load(InputStream stream) throws IOException {
        in = new LittleEndien(stream);
        loadHeader();
        ArrayList<ByteBuffer> data = readData(false);
        return new Image(pixelFormat, width, height, depth, data, sizes, ColorSpace.sRGB);
    }
<code>DDSLoader</code> is an image loader that reads in a DirectX DDS file.
Supports DXT1, DXT3, DXT5, RGB, RGBA, Grayscale, Alpha pixel formats.
2D images, mipmapped 2D images, and cubemaps.

@author Gareth Jenkins-Jones
@author Kirill Vainer
@version $Id: DDSLoader.java,v 2.0 2008/8/15
jme3-core/src/plugins/java/com/jme3/texture/plugins/DDSLoader.java