Skip to content
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

Closed
maczikasz opened this issue Dec 14, 2017 · 13 comments
Closed

Support IOS11 HEIF format #310

maczikasz opened this issue Dec 14, 2017 · 13 comments
Labels
image-queue Actionable issue with sample image

Comments

@maczikasz
Copy link

maczikasz commented Dec 14, 2017

At the moment HEIF format is not supported

@maczikasz maczikasz changed the title Support IOS11 HEIF HEIC formats Support IOS11 HEIF format Dec 14, 2017
@drewnoakes
Copy link
Owner

drewnoakes commented Dec 29, 2017

@payton, you said you looked at this a while back. Is there anything you can point to?

http://nokiatech.github.io/heif/
https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format

@payton
Copy link
Collaborator

payton commented Dec 29, 2017

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
The website/documentation isn't the easiest to navigate through.

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
I will try to get through more of it later today when I travel.

My earlier implementation was simple, but did at least pull out the width/height and some other lesser values. Looking through it now...

@Nadahar
Copy link
Contributor

Nadahar commented Dec 29, 2017

I think the ISO/IEC 23008-12 itself should have all the documentation you'd need 😉

@payton
Copy link
Collaborator

payton commented Mar 16, 2018

@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.

@payton
Copy link
Collaborator

payton commented Oct 15, 2018

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).
https://github.com/payton/metadata-extractor/tree/heif-image-properties

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

@Sami32
Copy link

Sami32 commented Nov 16, 2018

@payton In case you still need some image samples:
http://ge.tt/2tRPVos2

@drewnoakes drewnoakes added the image-queue Actionable issue with sample image label Nov 16, 2018
@grizzly100
Copy link

Hi. Great library Drew.

I wrote this class to integrate the Nokia HEIF reference implementation.

https://github.com/grizzly100/metamorphosis/blob/master/src/main/java/org/grizzlytech/metamorphosis/imaging/heif/HEIFMetadataReader.java

I only wanted “date taken”, but the sample shows your library nicely parses the bytes returned by the Nokia native library.

@zosatapo
Copy link

At the moment HEIF format is not supported

https://github.com/zosatapo/metadata-extractor-heif

Hi. Great library Drew.
I wrote this class to integrate the Nokia HEIF reference implementation.
https://github.com/grizzly100/metamorphosis/blob/master/src/main/java/org/grizzlytech/metamorphosis/imaging/heif/HEIFMetadataReader.java
I only wanted “date taken”, but the sample shows your library nicely parses the bytes returned by the Nokia native library.

pure Java , based on metadata-extractor , support heic/heif
https://github.com/zosatapo/metadata-extractor-heif

@drewnoakes
Copy link
Owner

@zosatapo can you submit a pull request so that your work can be used by existing users of this library?

@zosatapo
Copy link

zosatapo commented Nov 11, 2019 via email

@lfcnassif
Copy link

hi @zosatapo thank you for your work! With your implementation it is possible to get heif thumbnail? Is it stored inside exif data?

@ahao140202
Copy link

ahao140202 commented Sep 6, 2021

this issue should be closed, 2.16.0 resolved it
image

@drewnoakes
Copy link
Owner

@ahao140202 thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
image-queue Actionable issue with sample image
Projects
None yet
Development

No branches or pull requests

9 participants