본문 바로가기
파이썬

파이썬 PythonMagick의 문서 및 예제

by º기록 2021. 1. 14.
반응형


Google에서 검색했지만 많은 정보를 찾지 못했습니다.

 

해결 방법

 


따라서 모든 MagickW 및 API 기능을 사용할 수 있습니다.

 #!/usr/bin/python
 import Magick

 # Use the Python Imaging Library to create a Tk display
 dpy = Magick.TkDisplay(startmain=0)

 # Read the image
 img = Magick.read('test.gif')

 # Display the image
 dpy(img)
 dpy(img.Swirl(90))

 dpy.startmain=1
 dpy.show()

 

참조 페이지 https://stackoverflow.com/questions/1740158

 

 

반응형

댓글