Dominik Schmidt created TIKA-4860:
-------------------------------------

             Summary:  PDF RENDER_PAGES_BEFORE_PARSE ignores maxPages
                 Key: TIKA-4860
                 URL: https://issues.apache.org/jira/browse/TIKA-4860
             Project: Tika
          Issue Type: Bug
            Reporter: Dominik Schmidt


With "imageStrategy": "RENDER_PAGES_BEFORE_PARSE" the PDF parser renders every 
page (PageRangeRequest.RENDER_ALL) even when maxPages limits the parse; 
RENDER_PAGES_AT_PAGE_END honours it. A 10-page PDF with maxPages: 1 renders 10 
pages before parse and 1 page at page end. Either bound the pre-parse rendering 
by maxPages or document that maxPages only applies to text extraction.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to