[ 
https://issues.apache.org/jira/browse/TIKA-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097202#comment-18097202
 ] 

ASF GitHub Bot commented on TIKA-2586:
--------------------------------------

tballison closed pull request #2959: TIKA-2586 - further pkcs work
URL: https://github.com/apache/tika/pull/2959




> PDFParser documentation has incorrect DPI default
> -------------------------------------------------
>
>                 Key: TIKA-2586
>                 URL: https://issues.apache.org/jira/browse/TIKA-2586
>             Project: Tika
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Ewan Mellor
>            Priority: Minor
>
> On [https://wiki.apache.org/tika/PDFParser%20%28Apache%20PDFBox%29] it says:
> {quote}This method of OCR is triggered by the ocrStrategy parameter, but 
> users can manipulate other parameters, including the image type (see 
> org.apache.pdfbox.rendering.ImageType for options) and the dots per inch dpi. 
> The defaults are: gray and 200 respectively.
> {quote}
> The stated DPI default here is incorrect.  In both 
> tika/tika-parsers/src/main/resources/org/apache/tika/parser/pdf/PDFParser.properties
>  and 
> tika/tika-parsers/src/main/java/org/apache/tika/parser/pdf/PDFParserConfig.java
>  the ocrDPI value is set to 300.
> This is an immutable wiki page (at least to me) so I can't change it.
>  



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

Reply via email to