Skip to content

Commit

Permalink
Merge pull request python-pillow#825 from wiredfool/hsv
Browse files Browse the repository at this point in the history
Image Mode Docs
  • Loading branch information
wiredfool committed Jul 26, 2014
2 parents f234264 + 0dabb8e commit c9859dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/handbook/concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,16 @@ image. The current release supports the following standard modes:
* ``RGBA`` (4x8-bit pixels, true color with transparency mask)
* ``CMYK`` (4x8-bit pixels, color separation)
* ``YCbCr`` (3x8-bit pixels, color video format)
* ``LAB`` (3x8-bit pixels, the L*a*b color space)
* ``HSV`` (3x8-bit pixels, Hue, Saturation, Value color space)
* ``I`` (32-bit signed integer pixels)
* ``F`` (32-bit floating point pixels)

PIL also provides limited support for a few special modes, including ``LA`` (L
with alpha), ``RGBX`` (true color with padding) and ``RGBa`` (true color with
premultiplied alpha). However, PIL doesn’t support user-defined modes; if you
to handle band combinations that are not listed above, use a sequence of Image
objects.
objects.

You can read the mode of an image through the :py:attr:`~PIL.Image.Image.mode`
attribute. This is a string containing one of the above values.
Expand Down

0 comments on commit c9859dd

Please sign in to comment.