diff --git a/README.md b/README.md index 7a4b754..ccc7b69 100644 --- a/README.md +++ b/README.md @@ -2695,7 +2695,7 @@ from PIL import Image ``` ```python - = Image.new('', (width, height)) # Also: `color=`. + = Image.new('', (width, height)) # Also: `color=`. = Image.open() # Identifies format based on file contents. = .convert('') # Converts image to the new mode. .save() # Selects format based on the path extension. diff --git a/index.html b/index.html index 4b888c4..a7eff6a 100644 --- a/index.html +++ b/index.html @@ -2329,7 +2329,7 @@ right = [[0.1, 0.6from PIL import Image -
<Image> = Image.new('<mode>', (width, height))  # Also: `color=<int/tuple>`.
+
<Image> = Image.new('<mode>', (width, height))  # Also: `color=<int/tuple/str>`.
 <Image> = Image.open(<path>)                    # Identifies format based on file contents.
 <Image> = <Image>.convert('<mode>')             # Converts image to the new mode.
 <Image>.save(<path>)                            # Selects format based on the path extension.