LonerJimmy / BlurBitmap

Fast and almost Gaussian blur realize in Android NDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Fast and almost Gaussian blur realize in Android NDK


Languages

Language:Java 100.0%