我需要以编程方式从位图裁剪特定区域,例如此图像上的蓝色区域
我该怎么办?
就像下面这样:
// x refers to width, y refers to height //first find startx, starty, endx, endy Bitmap blueArea = Bitmap.createBitmap(bitmap, startx, starty, endx, endy);
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
点击生成二维码
我来说两句