burhanrashid52 / PhotoEditor

A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.
MIT License
4.14k stars 991 forks source link

Filter Error: java.lang.RuntimeException: Error executing ShaderProgram! #232

Open Carlos2927 opened 4 years ago

Carlos2927 commented 4 years ago

java.lang.RuntimeException: Error executing ShaderProgram! at android.filterfw.core.ShaderProgram.process(ShaderProgram.java:132) at android.filterfw.core.Program.process(Program.java:32) at android.filterpacks.imageproc.CrossProcessFilter.process(CrossProcessFilter.java:116) at android.filterfw.core.Filter.performProcess(Filter.java:483) at android.filterfw.core.FilterFunction.execute(FilterFunction.java:80) at android.filterfw.core.FilterFunction.executeWithArgList(FilterFunction.java:97) at android.media.effect.SingleFilterEffect.apply(SingleFilterEffect.java:73) at ja.burhanrashid52.photoeditor.ImageFilterView.applyEffect(ImageFilterView.java:263) at ja.burhanrashid52.photoeditor.ImageFilterView.onDrawFrame(ImageFilterView.java:100) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1590) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1286)

Test Device: Google Pixel 3A Test Photo: IMG_20200112_091108

maximusapp commented 4 years ago

java.lang.RuntimeException: Error executing ShaderProgram! at android.filterfw.core.ShaderProgram.process(ShaderProgram.java:132) at android.filterfw.core.Program.process(Program.java:32) at android.filterpacks.imageproc.CrossProcessFilter.process(CrossProcessFilter.java:116) at android.filterfw.core.Filter.performProcess(Filter.java:483) at android.filterfw.core.FilterFunction.execute(FilterFunction.java:80) at android.filterfw.core.FilterFunction.executeWithArgList(FilterFunction.java:97) at android.media.effect.SingleFilterEffect.apply(SingleFilterEffect.java:73) at ja.burhanrashid52.photoeditor.ImageFilterView.applyEffect(ImageFilterView.java:263) at ja.burhanrashid52.photoeditor.ImageFilterView.onDrawFrame(ImageFilterView.java:100) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1590) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1286)

Test Device: Google Pixel 3A Test Photo: IMG_20200112_091108

I face some problem. Who can help?

satputekuldip commented 4 years ago

Fatal Exception: java.lang.RuntimeException: Error executing ShaderProgram! at android.filterfw.core.ShaderProgram.process(ShaderProgram.java:123) at android.filterpacks.imageproc.AutoFixFilter.process(AutoFixFilter.java:260) at android.filterfw.core.Filter.performProcess(Filter.java:473) at android.filterfw.core.FilterFunction.execute(FilterFunction.java:80) at android.filterfw.core.FilterFunction.executeWithArgList(FilterFunction.java:97) at android.media.effect.SingleFilterEffect.apply(SingleFilterEffect.java:73) at ja.burhanrashid52.photoeditor.ImageFilterView.applyEffect(ImageFilterView.java:263) at ja.burhanrashid52.photoeditor.ImageFilterView.onDrawFrame(ImageFilterView.java:100) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1579) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1278)

Does anyone get the solution...?

satputekuldip commented 4 years ago

It's the Resolution some devices can not handle... I resized the image then it worked... If anyone has the solution please share...

ankitbatra11 commented 3 years ago

I am also facing the same issue. Is there any fix available for this?