百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

BlurImage

> 编程语言
开源

这个 Android 项目可以帮助您以最快的速度实现图像模糊

185 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

这个 Android 项目可以帮助您以最快的速度实现图像模糊

BlurImage

This Android Project help you to make your image blur in fastest way USAGE

To make your imageview blurry in a single line of code, library using android framework (rendersript) which is most efficient for doing these tasks and you can grab this library using your Gradle file :

Gradle

Step #1. Add the dependency

dependencies {
    ...
    Implementation 'com.jackandphantom.android:blurimage:1.2.0'
}

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

groovy
defaultConfig {
    ...
    renderscriptTargetApi 19
    renderscriptSupportModeEnabled true
}

IMPLEMENTATION

This library has different methods which you can use to maintain your image blur.

java
BlurImage.with(getApplicationContext()).load(R.drawable.myImage).intensity(20).Async(true).into(imageView);
                                       OR                            
BlurImage.with(getApplicationContext()).load(bitmap_Image).intensity(20).Async(true).into(imageView);

method (load) :- load(int resource), load(Bitmap bitmap)

method(intesity):- intensity( int value) { Increase Blur and limit of value is in between 0 to 25 }

Synchronous way to Load :- To make blur in synchronous you need to put false in Async method.

ASynchronous way to Load:- To make blur in asynchronous (Background) you need to put true in Async method.

Direct get Blur Bitmap :- To get direct blur bitmap call the following code .

java
Bitmap bitmap = BlurImage.with(getApplicationContext()).load(R.drawable.mountain).intensity(20).Async(true).getImageBlur();

LICENCE

Copyright 2017 Ankit kumar

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Thanks to stackoverflow and Vivek

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Javaandroidandroiduiblurimagecustomview

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言