from PIL import Image
import matplotlib.pyplot as plt

image = Image.open("./Lenna.png")
plt.imshow(image)
plt.show()
# 좌우반전
image3 =image.transpose(Image.FLIP_LEFT_RIGHT)
plt.imshow(image3)
plt.show()
# 180도 회전
image4 = image.rotate(180)
plt.imshow(image4)
plt.show()
# 크기 조정
width, height = image.size
image5 = image.resize((width//2,height//2))
plt.imshow(image5)
plt.show()



077e293462d46b7f7e70688b042672aeb4e6a179
<mask token>

<mask token>
plt.imshow(image)
plt.show()
<mask token>
plt.imshow(image3)
plt.show()
<mask token>
plt.imshow(image4)
plt.show()
<mask token>
plt.imshow(image5)
plt.show()

<mask token>
image = Image.open('./Lenna.png')
plt.imshow(image)
plt.show()
image3 = image.transpose(Image.FLIP_LEFT_RIGHT)
plt.imshow(image3)
plt.show()
image4 = image.rotate(180)
plt.imshow(image4)
plt.show()
width, height = image.size
image5 = image.resize((width // 2, height // 2))
plt.imshow(image5)
plt.show()

from PIL import Image
import matplotlib.pyplot as plt
image = Image.open('./Lenna.png')
plt.imshow(image)
plt.show()
image3 = image.transpose(Image.FLIP_LEFT_RIGHT)
plt.imshow(image3)
plt.show()
image4 = image.rotate(180)
plt.imshow(image4)
plt.show()
width, height = image.size
image5 = image.resize((width // 2, height // 2))
plt.imshow(image5)
plt.show()

from PIL import Image
import matplotlib.pyplot as plt

image = Image.open("./Lenna.png")
plt.imshow(image)
plt.show()
# 좌우반전
image3 =image.transpose(Image.FLIP_LEFT_RIGHT)
plt.imshow(image3)
plt.show()
# 180도 회전
image4 = image.rotate(180)
plt.imshow(image4)
plt.show()
# 크기 조정
width, height = image.size
image5 = image.resize((width//2,height//2))
plt.imshow(image5)
plt.show()


