[ 
https://issues.apache.org/jira/browse/TIKA-3007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998937#comment-16998937
 ] 

Johan commented on TIKA-3007:
-----------------------------

Ok i understand why there is a disconnect between type detection and 
content-type through metadata.

But can you also acknowledge that the -j option on the heic image is broken 
compared to -m

 
{code:java}
java -jar tika-app-1.23.jar -j ~/Desktop/testHEIF.heic
#nothing returned i expect this the json version of the command below which 
works fine for none hiec files{code}
 

-m returns stuff 
java -jar tika-app-1.23.jar -m /Users/butsjoh/Desktop/testHEIF.heic
Content-Length: 13706
Content-Type: application/mp4
X-Parsed-By: org.apache.tika.parser.DefaultParser
X-Parsed-By: org.apache.tika.parser.mp4.MP4Parser
resourceName: testHEIF.heic
 

 

 

 

> Heic images are detected as "application/mp4" when using tika as server
> -----------------------------------------------------------------------
>
>                 Key: TIKA-3007
>                 URL: https://issues.apache.org/jira/browse/TIKA-3007
>             Project: Tika
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 1.23
>            Reporter: Johan
>            Priority: Blocker
>
> Related to https://issues.apache.org/jira/browse/TIKA-2942
> It seems the detection of the heic imags is working for the standalone jar 
> (tika-app-1.23) but not for the server component (tika-server-1.23).
> tika-app-1.23.jar from [https://archive.apache.org/dist/tika/] detects the 
> image with image/heic but it does not work for the server component 
> tika-server-1.23.jar that one returns still "application/mp4". Any clue what 
> might be going wrong? Code has been added only to the tika jar client and not 
> to the server?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to