public static ImageRaster create(Image image) {
        if (image.getData().size() > 1) {
            throw new IllegalStateException("Use constructor that takes slices argument to read from multislice image");
        }
        return create(image, 0, 0, false);
    }
Create new image reader / writer for 2D images.

@param image The image to read / write to.
@return An ImageRaster to read / write to the image.
jme3-core/src/main/java/com/jme3/texture/image/ImageRaster.java