From 96b3935adc92d6648a2e2fe1b25eb8634f74466b Mon Sep 17 00:00:00 2001 From: MauveRanger Date: Wed, 9 Sep 2020 18:28:49 -0400 Subject: [PATCH] [ci skip] Clarify that modes are strings, not constants I misunderstood this section the first time I read it. I hope this change will clarify how to request a mode such as from Image.new("RGBA", size) --- docs/handbook/concepts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/handbook/concepts.rst b/docs/handbook/concepts.rst index f62e4b176..c4cdda78d 100644 --- a/docs/handbook/concepts.rst +++ b/docs/handbook/concepts.rst @@ -24,7 +24,7 @@ To get the number and names of bands in an image, use the Modes ----- -The ``mode`` of an image defines the type and depth of a pixel in the image. +The ``mode`` of an image is a string which defines the type and depth of a pixel in the image. Each pixel uses the full range of the bit depth. So a 1-bit pixel has a range of 0-1, an 8-bit pixel has a range of 0-255 and so on. The current release supports the following standard modes: