You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "suchendra (Jira)" <ji...@apache.org> on 2020/04/30 14:20:00 UTC
[jira] [Updated] (TIKA-3096) detect image in any document
[ https://issues.apache.org/jira/browse/TIKA-3096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
suchendra updated TIKA-3096:
----------------------------
Summary: detect image in any document (was: How do I detect image in any document, did not get any document)
> detect image in any document
> ----------------------------
>
> Key: TIKA-3096
> URL: https://issues.apache.org/jira/browse/TIKA-3096
> Project: Tika
> Issue Type: Bug
> Components: documentation, example, parser
> Affects Versions: 1.23
> Reporter: suchendra
> Priority: Minor
>
> How do I detect whether a document contains a image or not ?
> val parser = new AutoDetectParser()
> val handler = new ToXMLContentHandler()
> parser.parse(tikaIs, handler, new Metadata, new ParseContext)
> println("File Content:" + handler.toString)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)