摘要: fun Bitmap.toGray(): Bitmap? { // 得到图片的长和宽 // 创建目标灰度图像 val bmpGray = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565) // 创建画布 val c = Canvas( 阅读全文
posted @ 2022-09-29 11:28 宇少vlog 阅读(79) 评论(0) 推荐(0)