摘要: 一,安装工具: 1,安装backgroundremover: 参考: https://blog.imgtouch.com/index.php/2023/06/03/python-backgroundremover-an-zhuang-ji-yun-xing-zhong-bao/ 2,安装imageM 阅读全文
posted @ 2022-10-14 16:01 刘宏缔的架构森林 阅读(1169) 评论(0) 推荐(0)
摘要: 一,用convert创建空图片 1,执行命令 [lhdop@blog ~]$ cd img [lhdop@blog img]$ convert -size 1024x768 xc:"#FFF" ./white.png [lhdop@blog img]$ convert -size 1024x768 阅读全文
posted @ 2022-10-14 15:26 刘宏缔的架构森林 阅读(228) 评论(0) 推荐(0)
摘要: 一,设置png的背景颜色: 1,命令行: [lhdop@blog img]$ convert b2.png -background "#ffff00" -flatten yellow.png 说明: -background: 指定颜色值,也可以使用rgb(255,255,255)的格式 -flatt 阅读全文
posted @ 2022-10-14 11:00 刘宏缔的架构森林 阅读(1225) 评论(0) 推荐(1)
摘要: 一,安装backgroundremover: 1,官方站地址: https://github.com/nadermx/backgroundremover 2,从命令行安装 [lhdop@blog ~]$ pip3 install backgroundremover 3,安装时报错的处理,参考: ht 阅读全文
posted @ 2022-10-14 10:20 刘宏缔的架构森林 阅读(1656) 评论(0) 推荐(0)