You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (Jira)" <ji...@apache.org> on 2019/11/11 12:41:00 UTC

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

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

Nick Burch commented on TIKA-2942:
----------------------------------

Do you have a small sample file that you can share with us?

We probably need a more specific set of magic to apply to these files based on one of the early atoms, but we need an example file to check that with + unit test to verify it stays fixed!

> 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
>
> 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
(v8.3.4#803005)