android+边界模糊,Android StackBlur 是一个库能够对一张图片进行模糊处理

Android StackBlur是一个适用于Android 1.5及更高版本的库,用于对Bitmap进行模糊处理。该库基于Mario Klingemann的算法,并提供了一个示例应用。用户可以通过设置半径来处理图片,使用原生代码(NDK)或RenderScript实现更快的模糊效果。未来计划包括上传到MavenCentral、支持PNG9和添加单元测试。

Android StackBlur

Android StackBlur is a library that can perform a blurry effect on a Bitmap based on a gradient or radius, and return the result. The library is based on the code of Mario Klingemann.

The library is compatible for Android versions 1.5 (so pretty much compatible with every device).

A library and a sample application are provided with the code.

625332134c6f4d4600884b99daebf603.png625332134c6f4d4600884b99daebf603.png

Acknowledgements

Mario Klingemann developed the original algorithm and gave me the idea to port it to Android.

Manuel Peinado Gallego has generously pointed me out some other sources working on the same area.

Nicolas Pomepuy pointed me out to his really useful ar

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值