private String getValue(final ImageInfo info, final String target) {
        final String s = info.toString();
        final int i = s.indexOf(target);
        if (i < 0) {
            return "";
        }
        final int j = s.indexOf(':', i);
        if (j < 0) {
            return "";
        }
        final int k = s.indexOf('\n', j);
        if (k < j) {
            return "";
        }
        return s.substring(j + 1, k).trim();
    }
Gets the value for the target data field within the ImageInfo string. This method expects data fields to be given in the form: parameter name, colon,
value, end-of-line

@param info   a valid instance obtained from TiffImageParser
@param target the target data field string
@return the value
src/test/java/org/apache/commons/imaging/formats/tiff/TiffReadImageInfoTest.java