You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tyler Palsulich (JIRA)" <ji...@apache.org> on 2015/03/16 03:28:39 UTC

[jira] [Closed] (TIKA-1245) Incorrect MIME type detection

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

Tyler Palsulich closed TIKA-1245.
---------------------------------
    Resolution: Duplicate

Closing as duplicate of TIKA-1085. [~gagravarr], sorry for creating a pile of work. But, what do you think of the proposed PDF magic tweak in TIKA-1085? We could also try another run of govdocs to see any change, if [~tallison@mitre.org] is up for it.

> Incorrect MIME type detection
> -----------------------------
>
>                 Key: TIKA-1245
>                 URL: https://issues.apache.org/jira/browse/TIKA-1245
>             Project: Tika
>          Issue Type: Bug
>          Components: detector, mime
>    Affects Versions: 1.4
>            Reporter: Mohamed Mustafa Khimani
>            Priority: Minor
>         Attachments: 00000001 pages 250-329.pdf
>
>
> I am using Tika to detect the MIME type of a PDF file. The MIME type detection is incorrect. 
> Tika tika = new Tika();
> System.out.println(tika.detect(new File(args[0])));
> The output is - audio/mpeg
> I was looking to attach the pdf document for testing along with this, but could not find how to do that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)