protected ImageType getImageType(ParseContext parseContext) {
        PDFParserConfig pdfParserConfig = parseContext.get(PDFParserConfig.class);
        if (pdfParserConfig == null) {
            return defaultImageType;
        }
        return pdfParserConfig.getOcrImageType().getImageType();
    }
This is the amount of time it takes for PDFBox/java to write the image after
it has been rendered into a BufferedImage.  Some formats take much longer
to encode than others.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pdf-module/src/main/java/org/apache/tika/renderer/pdf/pdfbox/PDFBoxRenderer.java