public void setWidth(int width) {
        this.width = width;
        setUpdateNeeded();
    }
<code>setWidth</code> sets the width value of the image. It is
typically a good idea to try to keep this as a multiple of 2.

@param width
           the width of the image.
jme3-core/src/main/java/com/jme3/texture/Image.java