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

Add utils to convert ImageProxy to Bitmap #458

Merged
merged 2 commits into from
Sep 28, 2022

Conversation

ermolenkodev
Copy link
Collaborator

  • Support for YUV_420_888 and RGBA_8888 format.

  • Add optional rotation to match target orientation.

Originally it was a part of PR #456, but it's better to merge this functionality in separate PR as suggested here

* Support for YUV_420_888 and RGBA_8888 format.

* Add optional rotation to match target orientation.
* Add explicit check for a unsupported format of ImageProxy

* Remove unnecessary type declarations
@ermolenkodev ermolenkodev merged commit ec3d8e0 into Kotlin:master Sep 28, 2022
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

Successfully merging this pull request may close these issues.

2 participants