File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2621,7 +2621,7 @@ from PIL import Image
2621
2621
< tuple / int > = < Image> .getpixel((x, y)) # Returns a pixel.
2622
2622
< Image> .putpixel((x, y), < tuple / int > ) # Writes a pixel to image.
2623
2623
< ImagingCore> = < Image> .getdata() # Returns a sequence of pixels.
2624
- < Image> .putdata(< list / tuple / ImagingCore> ) # Writes a sequence of pixels.
2624
+ < Image> .putdata(< list / ImagingCore> ) # Writes a sequence of pixels.
2625
2625
< Image> .paste(< Image> , (x, y)) # Writes an image to image.
2626
2626
```
2627
2627
Original file line number Diff line number Diff line change 2234
2234
< pre > < code class ="python language-python hljs "> <tuple/int> = <Image>.getpixel((x, y)) < span class ="hljs-comment "> # Returns a pixel.</ span >
2235
2235
<Image>.putpixel((x, y), <tuple/int>) < span class ="hljs-comment "> # Writes a pixel to image.</ span >
2236
2236
<ImagingCore> = <Image>.getdata() < span class ="hljs-comment "> # Returns a sequence of pixels.</ span >
2237
- <Image>.putdata(<list/tuple/ ImagingCore>) < span class ="hljs-comment "> # Writes a sequence of pixels.</ span >
2237
+ <Image>.putdata(<list/ImagingCore>) < span class ="hljs-comment "> # Writes a sequence of pixels.</ span >
2238
2238
<Image>.paste(<Image>, (x, y)) < span class ="hljs-comment "> # Writes an image to image.</ span >
2239
2239
</ code > </ pre >
2240
2240
< div > < h3 id ="modes-1 "> Modes</ h3 > < ul >
You can’t perform that action at this time.
0 commit comments