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

Ui lags when calling method CGENativeLibrary.filterImage_MultipleEffects #496

Closed
mohdshibili opened this issue Apr 5, 2022 · 1 comment

Comments

@mohdshibili
Copy link

Iam using a imageview to load filtered bitmap.

Using method : Bitmap dstImage = CGENativeLibrary.filterImage_MultipleEffects(src, ruleString, 1.0f);

Using it in seekbar on progress changed and it lags.

Is there any way to apply filter smoothly when progress changed and apply to custom imageview

@wysaid
Copy link
Owner

wysaid commented Apr 9, 2022

You're not using the right function, the demo contains an image demo, please follow the instructions - not to read pixels and convert to bitmap, render the content directly

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