@Override
    public void write(JmeExporter e) throws IOException {
        OutputCapsule capsule = e.getCapsule(this);
        capsule.write(format, "format", Format.RGBA8);
        capsule.write(width, "width", 0);
        capsule.write(height, "height", 0);
        capsule.write(depth, "depth", 0);
        capsule.write(mipMapSizes, "mipMapSizes", null);
        capsule.write(multiSamples, "multiSamples", 1);
        capsule.writeByteBufferArrayList(data, "data", null);
        capsule.write(colorSpace, "colorSpace", null);
    }
Specifies that this image is an SRGB image and therefore must undergo an
sRGB -&gt; linear RGB color conversion prior to being read by a shader and
with the {@link Renderer#setLinearizeSrgbImages(boolean)} option is
enabled.

This option is only supported for the 8-bit color and grayscale image
formats. Determines if the image is in SRGB color space or not.

@return True, if the image is an SRGB image, false if it is linear RGB.

@see Renderer#setLinearizeSrgbImages(boolean)
jme3-core/src/main/java/com/jme3/texture/Image.java