随笔分类 -  图片处理

黑白效果函数
摘要:// 黑白效果函数 public static Bitmap changeToGray(Bitmap bitmap,boolean r, boolean g, boolean b) { int width, height; width = bitmap.getWidth(); height... 阅读全文

posted @ 2014-07-11 12:01 clarenceV1 阅读(153) 评论(0) 推荐(0)

羽化效果
摘要:// 羽化效果 public static Bitmap changeToEclosion(Bitmap bitmap) { int width = bitmap.getWidth(); int height = bitmap.getHeight(); int dst[] = new int[... 阅读全文

posted @ 2014-07-11 11:58 clarenceV1 阅读(259) 评论(0) 推荐(0)

拼图效果
摘要:public static Bitmap getComponseBitmap(Bitmap src, Bitmap src2){ if(src == null || src2 == null) return null; int width = src.getWidth(); int h... 阅读全文

posted @ 2014-07-11 11:57 clarenceV1 阅读(124) 评论(0) 推荐(0)

卡通效果
摘要:// 卡通效果 public static Bitmap changeToCarton(Bitmap bitmap) { int width = bitmap.getWidth(); int height = bitmap.getHeight(); int dst[] = new int[wi... 阅读全文

posted @ 2014-07-11 11:56 clarenceV1 阅读(149) 评论(0) 推荐(0)

版画效果函数
摘要:public static Bitmap changeToBlock(Bitmap bitmap) { int width = bitmap.getWidth(); int height = bitmap.getHeight(); int dst[] = new int[width * hei... 阅读全文

posted @ 2014-07-11 11:54 clarenceV1 阅读(146) 评论(0) 推荐(0)

导航