[
https://issues.apache.org/jira/browse/TIKA-2942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976609#comment-16976609
]
Nick Burch commented on TIKA-2942:
----------------------------------
Nokia have produced a Java library for the file format -
[https://github.com/nokiatech/heif] - but sadly it's under a non-commercial
license so we can't make use of it. They've also nobbled the example writer app
in the C/C++ library, but after some hunting I came across
[https://compare.rokka.io/_compare] which allowed me to convert one of the Tika
example images to HEIF for testing
I used the mime types listed at
[http://nokiatech.github.io/heif/technical.html] along with {{ftyp}} atom
values to add detection support in {{0758598be}}
Ideally we'd also like a sample HEIF file (under a suitable license!) for a
non-HEVC codec to complete the unit testing
> 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)