会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
管理
2023年9月26日
c# 图片自动去黑边思路
摘要: 1、如果某一行(列)的所有像素点的颜色相差不大,则判断为黑边/白边 2、按照1方法依次去除上、下、左、右黑边/白边 public Bitmap CropBitmap(Bitmap originalBitmap, int top, int bottom, int left, int right) {
阅读全文
posted @ 2023-09-26 10:11 sherlock-merlin
阅读(295)
评论(0)
推荐(0)
编辑