测试pillow
This commit is contained in:
7
test.py
7
test.py
@@ -1,8 +1,5 @@
|
||||
import cv2
|
||||
|
||||
from photo_review.photo_review import open_image_from_url
|
||||
from ucloud import ucloud
|
||||
|
||||
if __name__ == '__main__':
|
||||
image = cv2.imread("./PH20240529000194_1_075936_1.png")
|
||||
cv2.imwrite("test.png", image)
|
||||
image = open_image_from_url("./PH20240529000194_1_075936_1.png")
|
||||
image.save("test.png")
|
||||
|
||||
Reference in New Issue
Block a user