Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 891d127

Browse files
committed
Image
1 parent f98d6ac commit 891d127

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2761,7 +2761,7 @@ from PIL import ImageDraw
27612761
```
27622762
* **Use `'fill=<color>'` to set the primary color.**
27632763
* **Use `'outline=<color>'` to set the secondary color.**
2764-
* **Color can be specified as a tuple, int, `'#rrggbb'` string or a color name.**
2764+
* **Color can be specified as a int, tuple, `'#rrggbb[aa]'` string or a color name.**
27652765

27662766

27672767
Animation

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2372,7 +2372,7 @@
23722372
<ul>
23732373
<li><strong>Use <code class="python hljs"><span class="hljs-string">'fill=&lt;color&gt;'</span></code> to set the primary color.</strong></li>
23742374
<li><strong>Use <code class="python hljs"><span class="hljs-string">'outline=&lt;color&gt;'</span></code> to set the secondary color.</strong></li>
2375-
<li><strong>Color can be specified as a tuple, int, <code class="python hljs"><span class="hljs-string">'#rrggbb'</span></code> string or a color name.</strong></li>
2375+
<li><strong>Color can be specified as a int, tuple, <code class="python hljs"><span class="hljs-string">'#rrggbb[aa]'</span></code> string or a color name.</strong></li>
23762376
</ul>
23772377
<div><h2 id="animation"><a href="#animation" name="animation">#</a>Animation</h2><div><h4 id="createsagifofabouncingball">Creates a GIF of a bouncing ball:</h4><pre><code class="python language-python hljs"><span class="hljs-comment"># $ pip3 install pillow imageio</span>
23782378
<span class="hljs-keyword">from</span> PIL <span class="hljs-keyword">import</span> Image, ImageDraw

0 commit comments

Comments
 (0)