image import from file code example Example: import Image pip install pillow from PIL import Image, ImageDraw