圖像處理庫 Pillow與PIL

PIL只支持python2的版本到2.7; Python imaging Library ; Pillow 是PIL派生的一個分支,支持3以上Python版本。 命令使用pip安裝: pip install Pillow 簡單示例使用: from PIL import Image img = Image.open("example.jpg") img.rotate(45).show() 結論:將圖
相關文章
相關標籤/搜索