Tim Allison created TIKA-5065:
---------------------------------
Summary: Improve file-type precision in external parsers and
libraries
Key: TIKA-5065
URL: https://issues.apache.org/jira/browse/TIKA-5065
Project: Tika
Issue Type: Task
Reporter: Tim Allison
Some external parsers and some libraries that rely on file-based input can
benefit from improved file-type precision.
>From my :robot: :
{noformat}
Several parsers hand a file to an external program or library and let it work
out the format for itself. This makes them explicit about which formats they
expect.
- GDALParser: new allowedFormats setting (GDAL driver names); default is a
small set, and the parser claims only those drivers' media types.
- Media embedding (ffmpeg): new operator-only media.allowedFormats.
- ExternalParser: the input file is passed under a fixed name with an
extension matching the detected type; new inputFileExtension setting.
- NetCDFParser, HDFParser, GribParser: each opens only its own format.
- ISArchiveParser: new readSiblingFiles setting, default off.
- TesseractOCRParser: checks the image signature before running Tesseract.
{noformat}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)