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

Could you provide an API to get rotation #96

Open
ju2pom opened this issue Apr 27, 2022 · 1 comment
Open

Could you provide an API to get rotation #96

ju2pom opened this issue Apr 27, 2022 · 1 comment

Comments

@ju2pom
Copy link

ju2pom commented Apr 27, 2022

Hi,
Thanks for bringing this great and simple to use library to the public.
It would be really nice to have a way to know image orientation (and even better get exif metadata).

Thanks.

@SkyeHoefling
Copy link
Contributor

This is a good idea, not sure how we want to implement or if we want to take any dependencies on other libraries.

Right now the best workaround is to read the exif data using another library and then apply the rotation to the jpeg afterwards. When this library saves the image, it is saving exactly how the image is stored as heif, but it does not read any of the rotation exif data to get the orientation. This is the solution we use internally in our proprietary code as the goal of this library is to be as lightweight as possible

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