[
https://issues.apache.org/jira/browse/TIKA-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15651077#comment-15651077
]
Tim Allison commented on TIKA-2174:
-----------------------------------
Thank you. If you could share the stacktrace on this issue that you shared via
Twitter, that'd help. One problem in the one test file (via
[~johanvanderknijff]) I've looked at so far is that PDFBox's ImageIOUtil is not
extracting any bytes for the embedded jp2 so Tika is identifying it as
"octet-stream", which is I think what you saw in your stacktrace, no?
> Too few formats in support declared by TesseractOCRParser
> ---------------------------------------------------------
>
> Key: TIKA-2174
> URL: https://issues.apache.org/jira/browse/TIKA-2174
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.14
> Reporter: Matthew Caruana Galizia
>
> A complete install of Leptonica with Tesseract will add support for formats
> that are not declared by TesseractOCRParser. These include JP2, JPX and PPM.
> Tesseract produces OCR output fine for JPX images as of this version:
> {noformat}
> $ tesseract -v
> tesseract 3.04.01
> leptonica-1.73
> libjpeg 8d : libpng 1.6.26 : libtiff 4.0.6 : zlib 1.2.5}}
> {noformat}
> However, these types are not declared by getSupportTypes so no output is
> produced for PDFs which contained JPX images of scanned documents, for
> example.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)