tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Pandey (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TIKA-2689) *.ai type (Adobe illustrator ) files are not detected correctly.
Date Mon, 20 Aug 2018 07:41:00 GMT

     [ https://issues.apache.org/jira/browse/TIKA-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Amit Pandey updated TIKA-2689:
------------------------------
    Attachment: example.ai

> *.ai type (Adobe illustrator ) files are not detected correctly.
> ----------------------------------------------------------------
>
>                 Key: TIKA-2689
>                 URL: https://issues.apache.org/jira/browse/TIKA-2689
>             Project: Tika
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.16, 1.17, 1.18
>            Reporter: Amit Pandey
>            Priority: Major
>         Attachments: example.ai
>
>
> There is in-consistency in detecting **ai* types files when using different overloaded
detect method. When I am using _detect(String filename)_, it gives correct file type - "*application/illustrator*".
If I use _detect(InputStream is, String filename)_ or _detect(File fileObj)_ -  it gives
file type "*application/pdf*".
> Here is sample code I used.
>   [https://stackoverflow.com/questions/51359351/tika-detect-method-not-giving-same-exact-file-type|http://example.com/]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message