@@ -30,35 +30,35 @@ image. Each pixel uses the full range of the bit depth. So a 1-bit pixel has a r
30
30
INT32 and a 32-bit floating point pixel has the range of FLOAT32. The current release
31
31
supports the following standard modes:
32
32
33
- * ``1 `` (1-bit pixels, black and white, stored with one pixel per byte)
34
- * ``L `` (8-bit pixels, grayscale)
35
- * ``P `` (8-bit pixels, mapped to any other mode using a color palette)
36
- * ``RGB `` (3x8-bit pixels, true color)
37
- * ``RGBA `` (4x8-bit pixels, true color with transparency mask)
38
- * ``CMYK `` (4x8-bit pixels, color separation)
39
- * ``YCbCr `` (3x8-bit pixels, color video format)
33
+ * ``1 `` (1-bit pixels, black and white, stored with one pixel per byte)
34
+ * ``L `` (8-bit pixels, grayscale)
35
+ * ``P `` (8-bit pixels, mapped to any other mode using a color palette)
36
+ * ``RGB `` (3x8-bit pixels, true color)
37
+ * ``RGBA `` (4x8-bit pixels, true color with transparency mask)
38
+ * ``CMYK `` (4x8-bit pixels, color separation)
39
+ * ``YCbCr `` (3x8-bit pixels, color video format)
40
40
41
- * Note that this refers to the JPEG, and not the ITU-R BT.2020, standard
41
+ * Note that this refers to the JPEG, and not the ITU-R BT.2020, standard
42
42
43
- * ``LAB `` (3x8-bit pixels, the L*a*b color space)
44
- * ``HSV `` (3x8-bit pixels, Hue, Saturation, Value color space)
43
+ * ``LAB `` (3x8-bit pixels, the L*a*b color space)
44
+ * ``HSV `` (3x8-bit pixels, Hue, Saturation, Value color space)
45
45
46
- * Hue's range of 0-255 is a scaled version of 0 degrees <= Hue < 360 degrees
46
+ * Hue's range of 0-255 is a scaled version of 0 degrees <= Hue < 360 degrees
47
47
48
- * ``I `` (32-bit signed integer pixels)
49
- * ``F `` (32-bit floating point pixels)
48
+ * ``I `` (32-bit signed integer pixels)
49
+ * ``F `` (32-bit floating point pixels)
50
50
51
51
Pillow also provides limited support for a few additional modes, including:
52
52
53
- * ``LA `` (L with alpha)
54
- * ``PA `` (P with alpha)
55
- * ``RGBX `` (true color with padding)
56
- * ``RGBa `` (true color with premultiplied alpha)
57
- * ``La `` (L with premultiplied alpha)
58
- * ``I;16 `` (16-bit unsigned integer pixels)
59
- * ``I;16L `` (16-bit little endian unsigned integer pixels)
60
- * ``I;16B `` (16-bit big endian unsigned integer pixels)
61
- * ``I;16N `` (16-bit native endian unsigned integer pixels)
53
+ * ``LA `` (L with alpha)
54
+ * ``PA `` (P with alpha)
55
+ * ``RGBX `` (true color with padding)
56
+ * ``RGBa `` (true color with premultiplied alpha)
57
+ * ``La `` (L with premultiplied alpha)
58
+ * ``I;16 `` (16-bit unsigned integer pixels)
59
+ * ``I;16L `` (16-bit little endian unsigned integer pixels)
60
+ * ``I;16B `` (16-bit big endian unsigned integer pixels)
61
+ * ``I;16N `` (16-bit native endian unsigned integer pixels)
62
62
63
63
Premultiplied alpha is where the values for each other channel have been
64
64
multiplied by the alpha. For example, an RGBA pixel of ``(10, 20, 30, 127) ``
0 commit comments