diff --git a/test/2024,9,10/.idea/2024,9,10.iml b/test/2024,9,10/.idea/2024,9,10.iml index b69ee03..24f7b7d 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 98eaa58..12e1d9d 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/set_alpha.py b/test/2024,9,10/set_alpha.py index 02b62b0..1169f12 100644 --- a/test/2024,9,10/set_alpha.py +++ b/test/2024,9,10/set_alpha.py @@ -14,5 +14,5 @@ img_rgba=cv.merge((blue,green,red,alpha)) cv.imshow("changed",img_rgba) cv.waitKey(0) cv.destroyAllWindows() -# save -cv.imwrite("img.png",img_rgba) \ No newline at end of file +# compress and save +cv.imwrite("img.png",img_rgba,[cv.IMWRITE_PNG_COMPRESSION,9]) \ No newline at end of file