1.修改色相、饱和度、亮度
参看:http://blog.csdn.net/sjf0115/article/details/7267063
2.使用透明度通道,获取图片轮廓
参看:http://blog.csdn.net/liu2604592/article/details/7759168
方法:
deviceIV.setDrawingCacheEnabled(true);
deviceBmp = deviceIV.getDrawingCache();
时常会出现null,原因是超出系统提供最大的DrawingCache值,所以要在此代码前添加如下代码:
deviceIV.measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED));
deviceIV.layout(0, 0, deviceIV.getMeasuredWidth(), deviceIV.getMeasuredHeight());
3.修改图片像素点的色值,动态修改图片
参看:http://blog.csdn.net/xys289187120/article/details/6580777
原文链接:http://blog.csdn.net/wangfayinn/article/details/8685231