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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?