@Override
    public void read(JmeImporter importer) throws IOException {
        InputCapsule capsule = importer.getCapsule(this);
        format = capsule.readEnum("format", Format.class, Format.RGBA8);
        width = capsule.readInt("width", 0);
        height = capsule.readInt("height", 0);
        depth = capsule.readInt("depth", 0);
        mipMapSizes = capsule.readIntArray("mipMapSizes", null);
        multiSamples = capsule.readInt("multiSamples", 1);
        data = capsule.readByteBufferArrayList("data", null);
        colorSpace = capsule.readEnum("colorSpace", ColorSpace.class, null);
        if (mipMapSizes != null) {
            needGeneratedMips = false;
            mipsWereGenerated = true;
        }
    }
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