Created
July 29, 2020 12:41
-
-
Save idling-mind/cc467f93ebee41f314e0de885be7c53f to your computer and use it in GitHub Desktop.
Drawing basic circle in PIL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image, ImageDraw | |
img = Image.new("RGB", (500, 500)) | |
ic = ImageDraw.Draw(img) | |
ic.ellipse([0, 0, 500, 500], fill="RED") | |
img.save("basic.png") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment