File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,11 +35,12 @@ Image.fromarray mode parameter
3535
3636.. deprecated :: 11.3.0
3737
38- Using the ``mode `` parameter in :py:meth: `~PIL.Image.fromarray() ` to change data types
39- has been deprecated. Since pixel values do not contain information about palettes or
40- color spaces, the parameter can still be used to place grayscale L mode data within a
41- P mode image, or read RGB data as YCbCr for example. If omitted, the mode will be
42- automatically determined from the object's shape and type.
38+ Using the ``mode `` parameter in :py:meth: `~PIL.Image.fromarray() ` was deprecated in
39+ Pillow 11.3.0. In Pillow 12.0.0, this was partially reverted, and it is now only
40+ deprecated when changing data types. Since pixel values do not contain information
41+ about palettes or color spaces, the parameter can still be used to place grayscale L
42+ mode data within a P mode image, or read RGB data as YCbCr for example. If omitted, the
43+ mode will be automatically determined from the object's shape and type.
4344
4445Saving I mode images as PNG
4546^^^^^^^^^^^^^^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments