public int getSRGBIntent() {
        if (!SRGBIntentSet) {
            throw new IllegalStateException(PropertyUtil.getString("PNGEncodeParam19"));
        }
        return SRGBIntent;
    }
Returns the sRGB rendering intent to be stored with this image.

<p> If the sRGB intent has not previously been set, or has been
unset, an <code>IllegalStateException</code> will be thrown.

@throws IllegalStateException if the sRGB intent is not set.
plugins/svg-plugin/batik-codec-fix/src/main/java/org/apache/batik/ext/awt/image/codec/png/PNGEncodeParam.java