From d90d4d274f915ef5b36d56b3020308564f041da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 13 Apr 2023 18:16:52 +0200 Subject: [PATCH] Image --- README.md | 2 +- index.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f5809ed..49e39c7 100644 --- a/README.md +++ b/README.md @@ -2771,7 +2771,7 @@ from PIL import Image, ImageDraw ```python = .getpixel((x, y)) # Returns a pixel. .putpixel((x, y), ) # Writes a pixel to the image. - = .getdata() # Returns a flattened sequence of pixels. + = .getdata() # Returns a flattened view of the pixels. .putdata() # Writes a flattened sequence of pixels. .paste(, (x, y)) # Writes passed image to the image. ``` diff --git a/index.html b/index.html index 033a1de..8c54a48 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@
- +
@@ -2263,7 +2263,7 @@ right = [[0.1, 0.6
<int/tuple> = <Image>.getpixel((x, y))          # Returns a pixel.
 <Image>.putpixel((x, y), <int/tuple>)           # Writes a pixel to the image.
-<ImagingCore> = <Image>.getdata()               # Returns a flattened sequence of pixels.
+<ImagingCore> = <Image>.getdata()               # Returns a flattened view of the pixels.
 <Image>.putdata(<list/ImagingCore>)             # Writes a flattened sequence of pixels.
 <Image>.paste(<Image>, (x, y))                  # Writes passed image to the image.
 
@@ -2935,7 +2935,7 @@ $ pyinstaller script.py --add-data '<path>:.'