Browse Source

Image

pull/10/head
Jure Šorn 6 years ago
parent
commit
61b142b80b
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -1516,7 +1516,7 @@ Image
from PIL import Image
width, height = 100, 100
img = Image.new('L', (width, height), 'white')
img.putdata([255*a/(width*height) for a in range(width*height)])
img.putdata([255 * a/(width*height) for a in range(width*height)])
img.save('out.png')
```

Loading…
Cancel
Save