[jira] [Created] (TIKA-3096) How do I detect image in any document, did not get any document

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (TIKA-3096) How do I detect image in any document, did not get any document

Clark Perkins (Jira)
suchendra created TIKA-3096:
-------------------------------

             Summary: How do I detect image in any document, did not get 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


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)