Android设置高斯模糊

lu 10 0 PDF 2021-01-16 07:01:50

分享自己写的一个高斯模糊的工具类,可以根据Bitmap,Imageviw,Drawable或者资源文件设置 public class BlurImageView { /** 水平方向模糊度 */ public static float HRADIUS = 5; /** 竖直方向模糊度 */ public static float VRADIUS = 5; /** 模糊迭代度 */ public static int ITERATIONS = 5; /** * 根据bitmap设置高斯模糊 * @param bmp:b

用户评论
请输入评论内容
评分:
暂无评论