sparrow007 / blurimage Goto Github PK
View Code? Open in Web Editor NEWThis Android Project help you to make your image blur in fastest way
License: Apache License 2.0
This Android Project help you to make your image blur in fastest way
License: Apache License 2.0
java.lang.RuntimeException:
at android.os.AsyncTask$4.done (AsyncTask.java:415)
at java.util.concurrent.FutureTask.finishCompletion (FutureTask.java:383)
at java.util.concurrent.FutureTask.setException (FutureTask.java:252)
at java.util.concurrent.FutureTask.run (FutureTask.java:271)
at android.os.AsyncTask$SerialExecutor$1.run (AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:923)
Caused by: androidx.renderscript.RSRuntimeException:
at androidx.renderscript.RenderScript.internalCreate (RenderScript.java:1414)
at androidx.renderscript.RenderScript.create (RenderScript.java:1599)
at androidx.renderscript.RenderScript.create (RenderScript.java:1549)
at androidx.renderscript.RenderScript.create (RenderScript.java:1525)
at androidx.renderscript.RenderScript.create (RenderScript.java:1512)
at com.jackandphantom.blurimage.BlurImage.blur (BlurImage.java:53)
at com.jackandphantom.blurimage.BlurImage$AsyncBlurImage.doInBackground (BlurImage.java:155)
at com.jackandphantom.blurimage.BlurImage$AsyncBlurImage.doInBackground (BlurImage.java:146)
at android.os.AsyncTask$3.call (AsyncTask.java:394)
at java.util.concurrent.FutureTask.run (FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run (AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:923)
I add this dependence in build.gradle to blur my imageView :
dependencies {
implementation 'com.jackandphantom.android:blurimage:1.2.0'
}
And the following code in my MainActivity.java :
bgImage = (ImageView) findViewById(R.id.imageView);
Bitmap bitmap = BlurImage.with(getApplicationContext()).load(R.drawable.profilbackground).intensity(25).getImageBlur();
bgImage.setImageBitmap(bitmap);
why this way is just blur max to 25 radius and I want it up to 50 or 100. So, how can I change the radius blur of my image view? Please give me a way which does this.
Jcenter is at its end of life and the library depends on that for implementation. Without it, the library fails
Caused by androidx.renderscript.RSRuntimeException: Error loading RS jni library: java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/xxxx-1/lib/arm64/librsjni_androidx.so" Support lib API: 2301
at androidx.renderscript.RenderScript.internalCreate(RenderScript.java:1414)
at androidx.renderscript.RenderScript.create(RenderScript.java:1599)
at androidx.renderscript.RenderScript.create(RenderScript.java:1549)
at androidx.renderscript.RenderScript.create(RenderScript.java:1525)
at androidx.renderscript.RenderScript.create(RenderScript.java:1512)
at com.jackandphantom.blurimage.BlurImage.blur(BlurImage.java:53)
at com.jackandphantom.blurimage.BlurImage$AsyncBlurImage.doInBackground(BlurImage.java:155)
at com.jackandphantom.blurimage.BlurImage$AsyncBlurImage.doInBackground(BlurImage.java:146)
at android.os.AsyncTask$2.call(AsyncTask.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Hey there, I just read that this gradle supports Android version "14+", but on my Lollipop device it was crashing and it shows only single line of error :
"A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 2295 (AsyncTask #1)"
These are some extra logs that occurs before the error :
W/linker: librsjni_androidx.so: unused DT entry: type 0x6000000f arg 0xb404
W/linker: librsjni_androidx.so: unused DT entry: type 0x60000010 arg 0x35
W/linker: librsjni_androidx.so: unused DT entry: type 0x6ffffef5 arg 0xad78
W/linker: librsjni_androidx.so: unused DT entry: type 0x6ffffffe arg 0xad38
W/linker: librsjni_androidx.so: unused DT entry: type 0x6fffffff arg 0x2
I don't know the solution to this. So, please try to solve this issue as fast as you can.
Thanks for this library.
please update this library for android 14+
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.