qiujuer / imageblurring Goto Github PK
View Code? Open in Web Editor NEWAndroid blurring image(bitmap) by java and jni.
Home Page: http://genius.qiujuer.net/module/blur.html
License: Apache License 2.0
Android blurring image(bitmap) by java and jni.
Home Page: http://genius.qiujuer.net/module/blur.html
License: Apache License 2.0
Hi, I have tried your code, and the fastBlur actually will cause crash on Genymotion Emulator, not all of them, but a few emulators, for example, Galaxy S5-4.4.2-API19 1080x1920, 480dpi
Here is the exception:
java.lang.ArrayIndexOutOfBoundsException: length=112896; index=113033
at net.qiujuer.imageblurring.util.FastBlur.doBlur(FastBlur.java:155)
at net.qiujuer.imageblurring.fragments.FastBlurFragment.blur(FastBlurFragment.java:83)
Do you know what this could be?
Thanks.
Hi, I am using your code in my application. However their is a slight problem. The view which have blurred is movable. When I click on a button, the blurred view (TextView) translates to different position. I want the blurred TextView to show blurred background in run time. I mean whichever part of the full image comes behind the TextView, while its moving, should be blurred. Is it possible? How can I achieve it?
Thanks.
as titled.
/Users/matinghao/work/github/ImageBlurring/blur/src/main/obj/local/arm64-v8a/objs/genius_blur/net_qiujuer_genius_blur_StackNative.o: In function Java_net_qiujuer_genius_blur_StackNative_blurPixels': /Users/matinghao/work/github/ImageBlurring/blur/src/main/jni/net_qiujuer_genius_blur_StackNative.c:22: undefined reference to
blur'
/Users/matinghao/work/github/ImageBlurring/blur/src/main/obj/local/arm64-v8a/objs/genius_blur/net_qiujuer_genius_blur_StackNative.o: In function Java_net_qiujuer_genius_blur_StackNative_blurBitmap': /Users/matinghao/work/github/ImageBlurring/blur/src/main/jni/net_qiujuer_genius_blur_StackNative.c:70: undefined reference to
blur'
collect2: error: ld returned 1 exit status
make: *** [/Users/matinghao/work/github/ImageBlurring/blur/src/main/obj/local/arm64-v8a/libgenius_blur.so] Error 1
On blur RGB_565 BItmap by use StackBlur.blurNatively(), the BItmap not change.
Hi, I would like to thank you for such a great piece of code.
I am using your code in one of my project. However, there is a slight change. Instead of showing white colored text, I want to show clear (non-blurred) background as my text color. I mean wherever the text comes, the background should not be blurred.
Among the methods to blur the image, which one is the fastest?
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.