From e2cbfef17b2a4874499a389b8980be2b14088377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 21 Aug 2019 16:21:55 +0200 Subject: [PATCH] Image --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ddb1c2f..8db08fa 100644 --- a/README.md +++ b/README.md @@ -2573,7 +2573,7 @@ from PIL import Image ``` ```python - = img.getpixel((x, y)) # Returns a pixel. + = .getpixel((x, y)) # Returns a pixel. .putpixel((x, y), ) # Writes a pixel to image. = .getdata() # Returns a sequence of pixels. .putdata() # Writes a sequence of pixels. diff --git a/index.html b/index.html index de6d5c1..073d4e2 100644 --- a/index.html +++ b/index.html @@ -2189,7 +2189,7 @@ right = [[0.1, 0.6'<path>') <Image>.show() -
<tuple/int> = img.getpixel((x, y))              # Returns a pixel.
+
<tuple/int> = <Image>.getpixel((x, y))          # Returns a pixel.
 <Image>.putpixel((x, y), <tuple/int>)           # Writes a pixel to image.
 <ImagingCore> = <Image>.getdata()               # Returns a sequence of pixels.
 <Image>.putdata(<list/tuple>)                   # Writes a sequence of pixels.