public byte[] getICCProfileData() {
        if (!ICCProfileDataSet) {
            throw new IllegalStateException(PropertyUtil.getString("PNGEncodeParam15"));
        }
        return (byte[])(ICCProfileData.clone());
    }
Returns the ICC profile data to be stored with this image.

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

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