From c6a369f647fe9e1f1c170d7b44ae482fdaf30b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 1 Oct 2019 14:23:39 +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 4e3d3da..e3c16f2 100644 --- a/README.md +++ b/README.md @@ -2621,7 +2621,7 @@ from PIL import Image = .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. +.putdata() # Writes a sequence of pixels. .paste(, (x, y)) # Writes an image to image. ``` diff --git a/index.html b/index.html index d21a0c1..3c1c7e8 100644 --- a/index.html +++ b/index.html @@ -2234,7 +2234,7 @@ right = [[0.1, 0.6<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/ImagingCore>) # Writes a sequence of pixels. +<Image>.putdata(<list/ImagingCore>) # Writes a sequence of pixels. <Image>.paste(<Image>, (x, y)) # Writes an image to image.

Modes