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

Hello I'm using OpenGlView and want to set the Hue of the camera how to write. #1477

Open
zhouqunhuang opened this issue May 9, 2024 · 1 comment

Comments

@zhouqunhuang
Copy link

No description provided.

@pedroSG94
Copy link
Owner

Hello,

What do you means with HUE? image color?
Android camera can't do it directly but you can create a filter to modify the image color.
You can use ColorFilterRender to tint the image with a rgb color:
https://github.com/pedroSG94/RootEncoder/blob/master/app/src/main/java/com/pedro/streamer/utils/FilterMenu.kt#L150
You can use setRGBColor method to choose the color in rgb (values 0 to 255)

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