wysaid / android-gpuimage-plus

Android Image & Camera Filters Based on OpenGL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ui lags when calling method CGENativeLibrary.filterImage_MultipleEffects

mohdshibili opened this issue · comments

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

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