完成第二个题目

This commit is contained in:
2024-09-10 14:43:08 +08:00
parent 0ce985ccdb
commit b60dda21ea
4 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -13,4 +13,6 @@ img_rgba=cv.merge((blue,green,red,alpha))
# show
cv.imshow("changed",img_rgba)
cv.waitKey(0)
cv.destroyAllWindows()
cv.destroyAllWindows()
# save
cv.imwrite("img.png",img_rgba)