-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support IOS11 HEIF format #310
Comments
@payton, you said you looked at this a while back. Is there anything you can point to? http://nokiatech.github.io/heif/ |
At the time that I was looking through it, I was having some issues finding enough documentation on it, but the MPEG site provided some helpful documentation https://mpeg.chiariglione.org/standards/mpeg-h https://mpeg.chiariglione.org/standards/mpeg-h/image-file-format I'll do some more digging for better documentation now that it has seen more light in iOS11 This seems to be a good paper on HEIF from the Tampere University of Technology (Finland) https://dspace.cc.tut.fi/dpub/bitstream/handle/123456789/24147/heikkila.pdf My earlier implementation was simple, but did at least pull out the width/height and some other lesser values. Looking through it now... |
I think the ISO/IEC 23008-12 itself should have all the documentation you'd need 😉 |
@maczikasz If you have any sample HEIF images you could contribute to https://github.com/drewnoakes/metadata-extractor-images, that would help with continued development. |
Just to keep this issue updated, I am working on adding some of the image properties (as specified in ISO/IEC 23008-12:2017 in section 6.5). Currently, I have added Image Rotation, Pixel Information, and Colour Information. These will extract image rotation (in degrees counter-clockwise), ICC Profile, and bits per channel (pixel depth). A PR will be made soon. These are the only properties I am able to test at the moment. We will be able to add more when we get sample images. PR: #372 |
@payton In case you still need some image samples: |
Hi. Great library Drew. I wrote this class to integrate the Nokia HEIF reference implementation. I only wanted “date taken”, but the sample shows your library nicely parses the bytes returned by the Nokia native library. |
https://github.com/zosatapo/metadata-extractor-heif
pure Java , based on metadata-extractor , support heic/heif |
@zosatapo can you submit a pull request so that your work can be used by existing users of this library? |
I have submitted a pull request to extract EXIF metadata for HEIF format , please verify it. 1. change SequentialReader to RandomAccessReader for reading EXIF data buffer from HEIF meta BOX 2. modify HeifHandler to extract EXIF location with ItemInfoBox and ItemLocatonBox
|
hi @zosatapo thank you for your work! With your implementation it is possible to get heif thumbnail? Is it stored inside exif data? |
@ahao140202 thank you! |
At the moment HEIF format is not supported
The text was updated successfully, but these errors were encountered: