GaussianBlur

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

Github stars Tracking Chart

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);

Main metrics

Overview
Name With Ownerjrvansuita/GaussianBlur
Primary LanguageJava
Program languageJava (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2016-11-10 13:20:49
Pushed At2022-04-28 13:09:02
Last Commit At2022-04-28 10:09:02
Release Count4
Last Release Namev1.0.3 (Posted on )
First Release Namev1.0.0 (Posted on )
用户参与
Stargazers Count510
Watchers Count8
Fork Count88
Commits Count50
Has Issues Enabled
Issues Count7
Issue Open Count2
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private