Python, Pillowで円や四角、直線などの図形を描画 | note.nkmk.me

Pythonの画像処理ライブラリPillow(PIL)のImageDrawモジュールに、円や四角、直線などの図形を描画するメソッドが多数用意されている。 ImageDraw Module — Pillow (PIL Fork) 4.4.0.dev0 documentation ここでは以 ...