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

FilterGroup distorts camera preview #107

Open
KristianKalamin opened this issue Mar 29, 2022 · 0 comments
Open

FilterGroup distorts camera preview #107

KristianKalamin opened this issue Mar 29, 2022 · 0 comments

Comments

@KristianKalamin
Copy link

When I set FilterGroup as texture filter for CameraPreviewTextureView or PreviewConsumerTextureView, camera preview becomes rotated and scaled down when compared to original camera preview. This only happens when FilterGroup is set as texture filter, but when I set for example GammaFilter, camera preview (dimensions and rotation) stays the same as original camera preview.

Testing device: Samsung Galaxy A51

On image: first preview is original camera preview, second preview is camera preview with FilterGroup (Gamma and Pixelation filters) as filter.

Screenshot_20220329-191825_CanvasGLSample

Any help would be appreciated.

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

1 participant