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
Attachments
Issue Links
- is related to
-
PDFBOX-5201 Add Adobe Illustrator COSNames
- Closed
-
PDFBOX-5211 How can I clear unused data?
- Closed
- relates to
-
TIKA-3971 Distinguish eps-based Adobe Illustrator files from pdf-based Illustrator files
- Resolved
- links to