Closed adamlwgriffiths closed 2 years ago
The main page of the documentation features some code snippets, but none are self contained.
After reading for a while it became clear that the 3 snippets at the top are really one snippet with text thrown in-between.
But the snippets themselves do not form a single cohesive example. Specifically, create_image has undefined variables: width, height, color1.
create_image
def create_image(): # Generate an image and draw a pattern image = Image.new('RGB', (width, height), color1)
Could you please provide a single basic example as a point of reference.
Thank you for your comment.
Yes, I agree that a single cohesive example would simplify getting started. I have updated the documentation on the master branch.
The main page of the documentation features some code snippets, but none are self contained.
After reading for a while it became clear that the 3 snippets at the top are really one snippet with text thrown in-between.
But the snippets themselves do not form a single cohesive example. Specifically,
create_image
has undefined variables: width, height, color1.Could you please provide a single basic example as a point of reference.