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 HEIF (.heic) files with AutoOrientation #157

Open
mholt opened this issue Jan 11, 2023 · 1 comment
Open

Support HEIF (.heic) files with AutoOrientation #157

mholt opened this issue Jan 11, 2023 · 1 comment

Comments

@mholt
Copy link

mholt commented Jan 11, 2023

Thanks for this package! It's really nice. Except that it doesn't seem to extract .heic EXIF data, so it can't get the Orientation. This is unfortunate for all iPhone users (of which I am not, currently, but I need to support this case, ha).

Looks like the package is hard-coded to validate and look for JPEG-specific structure. But even once I took that out, parsing a HEIC failed at this line.

I don't know much about parsing metadata. But would it be possible to use a package like github.com/evanoberholster/imagemeta so you don't have to re-invent the wheel of parsing EXIF data?

@cruvie
Copy link

cruvie commented Mar 14, 2023

Thanks for this package! It's really nice. Except that it doesn't seem to extract .heic EXIF data, so it can't get the Orientation. This is unfortunate for all iPhone users (of which I am not, currently, but I need to support this case, ha).

Looks like the package is hard-coded to validate and look for JPEG-specific structure. But even once I took that out, parsing a HEIC failed at this line.

I don't know much about parsing metadata. But would it be possible to use a package like github.com/evanoberholster/imagemeta so you don't have to re-invent the wheel of parsing EXIF data?

need too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants