/BlurBitmap

Fast and almost Gaussian blur realize in Android NDK

Primary LanguageJava

Introduction

StackBlur is a fast, almost Gaussian blur created by Mario Klingemann.

This project implements StackBlur in NDK which maybe better than RenderScript.

Getting Started

  • Add dependency in app build.gradle as follow:
compile 'loner.library:blur:1.0.0'
  • Call in code:
ImageUtil.fastBlur(tmpBitmap, 25)//return bitmap,the first params is bitmap,the second params is ambiguity。

The code in the project is more detailed.

More