diff --git a/test/2024,9,10/.idea/2024,9,10.iml b/test/2024,9,10/.idea/2024,9,10.iml index d0876a7..b69ee03 100644 --- a/test/2024,9,10/.idea/2024,9,10.iml +++ b/test/2024,9,10/.idea/2024,9,10.iml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/test/2024,9,10/.idea/misc.xml b/test/2024,9,10/.idea/misc.xml index 12e1d9d..98eaa58 100644 --- a/test/2024,9,10/.idea/misc.xml +++ b/test/2024,9,10/.idea/misc.xml @@ -3,5 +3,5 @@ - + \ No newline at end of file diff --git a/test/2024,9,10/img.png b/test/2024,9,10/img.png new file mode 100644 index 0000000..0b766ad Binary files /dev/null and b/test/2024,9,10/img.png differ diff --git a/test/2024,9,10/set_alpha.py b/test/2024,9,10/set_alpha.py index 24227a3..e27a7ba 100644 --- a/test/2024,9,10/set_alpha.py +++ b/test/2024,9,10/set_alpha.py @@ -13,4 +13,6 @@ img_rgba=cv.merge((blue,green,red,alpha)) # show cv.imshow("changed",img_rgba) cv.waitKey(0) -cv.destroyAllWindows() \ No newline at end of file +cv.destroyAllWindows() +# save +cv.imwrite("img.png",img_rgba) \ No newline at end of file