Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2689

*.ai type (Adobe illustrator ) files are not detected correctly.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.16, 1.17, 1.18
    • 2.8.0
    • core
    • None

    Description

      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

       

      Attachments

        1. screenshot-1.png
          48 kB
          Tilman Hausherr
        2. example.ai
          2.52 MB
          Amit Pandey

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amitp7007 Amit Pandey
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: