紧急
This commit is contained in:
Generated
+1
-1
@@ -2,7 +2,7 @@
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="jdk" jdkName="D:\Anaconda\envs\openCV_study" jdkType="Python SDK" />
|
||||
<orderEntry type="jdk" jdkName="OpenCV_Study" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
Generated
+1
-1
@@ -3,5 +3,5 @@
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="OpenCV_Study" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="D:\Anaconda\envs\openCV_study" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="OpenCV_Study" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
@@ -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)
|
||||
# compress and save
|
||||
cv.imwrite("img.png",img_rgba,[cv.IMWRITE_PNG_COMPRESSION,9])
|
||||
Reference in New Issue
Block a user