GaussianBlur

An easy and fast library to apply gaussian blur filter on any images. ?

Github星跟踪图

Gaussian Blur

This is an Android project. Easy and simple library to apply gaussian blur filter on images. The library lets you apply a fast gaussian blur filter on any images very fast because the image will be scaled down before apply the filter. Doing it asynchronous or not.

JitPak
Android Arsenal
MaterialUp
ghit.me

Sample app

Please check the sample app and feel free to help with a pull request. It's located here.

Appetize.io Demo
Codacy Badge

Setup

Step #1. Add the JitPack repository to your build file:

allprojects {
    repositories {
        ...
        maven { url "https://jitpack.io" }
    }
}

Step #2. Add the dependency (See latest release).

dependencies {
    compile 'com.github.jrvansuita:GaussianBlur:+'
}

Step #3. Add the below lines on app module build.gradle file.

defaultConfig {
    ...
    renderscriptTargetApi 19
    renderscriptSupportModeEnabled true
}

Implementation

//Synchronous blur
Bitmap blurredBitmap = GaussianBlur.with(context).render(R.mipmap.your_image);
imageView.setImageBitmap(blurredBitmap);
   
//Asynchronous blur
GaussianBlur.with(context).put(R.mipmap.your_image, imageView);

//Asynchronous with scaleDown and changing radius
GaussianBlur.with(context).size(300).radius(10).put(R.mipmap.your_image, imageView);

主要指标

概览
名称与所有者jrvansuita/GaussianBlur
主编程语言Java
编程语言Java (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2016-11-10 13:20:49
推送于2022-04-28 13:09:02
最后一次提交2022-04-28 10:09:02
发布数4
最新版本名称v1.0.3 (发布于 )
第一版名称v1.0.0 (发布于 )
用户参与
星数510
关注者数8
派生数88
提交数50
已启用问题?
问题数7
打开的问题数2
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?