Skip to content
UPEEC

Pillow

The friendly Python Imaging Library for opening, editing and saving images.

Beginner
Comments 0

Image.open("a.png").resize((256, 256)).convert("L").save("b.png").

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.