diff --git a/README.md b/README.md index 335b3e6..f0f8269 100644 --- a/README.md +++ b/README.md @@ -2672,9 +2672,9 @@ from PIL import Image ``` ```bash -<2d_array> = np.array() # Converts greyscale image to NumPy array. -<3d_array> = np.array() # Converts color image to NumPy array. - = Image.fromarray() # Converts NumPy array to Image. +<2d_array> = np.array() # Creates NumPy array from greyscale image. +<3d_array> = np.array() # Creates NumPy array from color image. + = Image.fromarray() # Creates image from NumPy array of floats. ``` ### Modes diff --git a/index.html b/index.html index 31c3aa8..bf6bc94 100644 --- a/index.html +++ b/index.html @@ -2275,9 +2275,9 @@ right = [[0.1, 0.6# Writes a sequence of pixels. <Image>.paste(<Image>, (x, y)) # Writes an image to the image. -
<2d_array> = np.array(<Image>)                  # Converts greyscale image to NumPy array.
-<3d_array> = np.array(<Image>)                  # Converts color image to NumPy array.
-<Image>    = Image.fromarray(<array>)           # Converts NumPy array to Image.
+
<2d_array> = np.array(<Image>)                  # Creates NumPy array from greyscale image.
+<3d_array> = np.array(<Image>)                  # Creates NumPy array from color image.
+<Image>    = Image.fromarray(<array>)           # Creates image from NumPy array of floats.
 

Modes

  • '1' - 1-bit pixels, black and white, stored with one pixel per byte.