public void setExtractUniqueInlineImagesOnly(boolean extractUniqueInlineImagesOnly) {
        this.extractUniqueInlineImagesOnly = extractUniqueInlineImagesOnly;
        userConfigured.add("extractUniqueInlineImagesOnly");
    }
Multiple pages within a PDF file might refer to the same underlying image.
If {@link #extractUniqueInlineImagesOnly} is set to <code>false</code>, the
parser will call the EmbeddedExtractor each time the image appears on a page.
This might be desired for some use cases.  However, to avoid duplication of
extracted images, set this to <code>true</code>.  The default is <code>true</code>.
<p/>
Note that uniqueness is determined only by the underlying PDF COSObject id, not by
file hash or similar equality metric.
If the PDF actually contains multiple copies of the same image
-- all with different object ids -- then all images will be extracted.
<p/>
For this parameter to have any effect, {@link #extractInlineImages} must be
set to <code>true</code>.
<p>
Because of TIKA-1742 -- to avoid infinite recursion -- no matter the setting
of this parameter, the extractor will only pull out one copy of each image per
page.  This parameter tries to capture uniqueness across the entire document.

@param extractUniqueInlineImagesOnly
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pdf-module/src/main/java/org/apache/tika/parser/pdf/PDFParserConfig.java