파이썬에서 이미지 처리를 도와주는 고마운 녀석이 있는데, 바로 Python Imaging Library: PIL 이다.
주요 기능은 다음과 같다
아래 코드를 통해서 이미지를 볼 수 있다.
import PIL
import PIL.Image
# Path.glob 를 통해서 가져온 img PosixPath
roses = list(path.glob('roses/*'))
img = PIL.image.open(str(roses[1]))
img.show()