Skip to content

Commit

Permalink
Merge pull request #4912 from MauveRanger/patch-2
Browse files Browse the repository at this point in the history
Clarify that modes are strings, not constants
  • Loading branch information
hugovk authored Sep 10, 2020
2 parents cd217bd + 96b3935 commit 7e06a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/handbook/concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7e06a91

Please sign in to comment.