Skip to content

qiujuer/ImageBlurring

Repository files navigation

Android Arsenal

中文 English

ImageBlurring

Android Blurring Image (Bitmap) By Java And JNI.

Thanks

blurring

Article

Sample APK

Note

Has been integrated into the new project: Genius-Android

Screenshots

BLUR

RenderScript

Animation

Animation

Use

  • RenderScript

    • Call Android's RenderScript to blur image
    • Speed is generally, with direct blur little difference in the Java layer
    • This need Android >= 4.4
  • Fast Blur

    • Call Java class to blur iamge
    • Fast Blur is blurring project's methods
    • Fast Blur is stack blur
  • JniArray

    • Fuzzy method is blur C language implementation of the stack blur
    • After the blur JNI layer, and then back to the blur data
    • In the Java layer of class parsed pixel array passed to JNI layer
    • After the blur back to the Array
  • JniBitMap

    • Fuzzy method is fuzzy C language implementation of the stack blur
    • After the blur JNI layer, and then back to the blur data
    • After the blur back to the Bitmap

Need

Development project, if you need import should Gradle version is 1.2.3 => gradle.2.8

Project inside contain an instance of project, project with JNI source implementation, as well as the JNI generated file.

'Eclipse' cannot import directly in the program, please create a project in accordance with the corresponding category replacement to their projects.

Feedback

You in use if you have any question, please timely feedback to me, you can use the following contact information to communicate with me

Giving developers

Are interested in and write a free, have joy, also there is sweat, I hope you like my work, but also can support it. Of course, rich holds a money (AliPay: qiujuer@live.cn); No money holds personal field, thank you.

About me

  var info = {
    nickName  : "qiujuer",
    site : "http://www.qiujuer.net"
  }

License

Copyright 2014-2016 Qiujuer.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.