[jira] [Commented] (TIKA-2942) HEIC files are detected as "video/quicktime" media type

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (TIKA-2942) HEIC files are detected as "video/quicktime" media type

Tim Allison (Jira)

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

Johan commented on TIKA-2942:

Hi, I have seen that 1.23 was released a couple of days ago and it is detecting the hiec/heif correctly now. At least for the tika-app-1.23.jar from [https://archive.apache.org/dist/tika/] 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?

> HEIC files are detected as "video/quicktime" media type
> -------------------------------------------------------
>                 Key: TIKA-2942
>                 URL: https://issues.apache.org/jira/browse/TIKA-2942
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 1.22
>            Reporter: Roman Ivanov
>            Priority: Major
>             Fix For: 1.23
> HEIC files (image file from iPhones) are detected as "video/quicktime" media type
> {code}
>  $ identify -verbose ~/temp/IMG_2568.HEIC
> Image: ~/temp/IMG_2568.HEIC
>   Format: HEIC (High Efficiency Image Format)
>   Mime type: image/x-heic
> ....
>     exif:LensMake: Apple
>     exif:LensModel: iPhone X back dual camera 4mm f/1.8
>     exif:LensSpecification: 4/1, 6/1, 9/5, 12/5
>     exif:Make: Apple
> ...
>   Version: ImageMagick 7.0.8-59 Q16 x86_64 2019-08-05 https://imagemagick.org
> {code}
> It would be good to be recognized as "image/x-heic".

This message was sent by Atlassian Jira