Pillow/docs/handbook
Benjamin Gilbert a72b5963d7 Document JPEG 2000 support for writing YCbCr and reading subsampled color
Read support for subsampled RGB and YCbCr color channels was added in
4f4c3b34f8 and not documented at the time.  Write support for YCbCr
appears to date to 61fb89ec54, the original commit.

Retain the existing language about YCbCr input conversion to RGB, even
though it's not completely correct.  OpenJPEG through 2.5.0 doesn't set
color_space in opj_read_header(), so we end up in our
OPJ_CLRSPC_UNSPECIFIED fallback path, which guesses sRGB if there's no
component subsampling.  This means we currently can't round-trip YCbCr via
JPEG 2000.  The next OpenJPEG release will fix this, so leave the docs as
is.

Also fix typo: .j2p -> .jp2.
2023-12-26 12:52:27 -06:00
..
appendices.rst Added PyEncoder 2022-02-25 16:07:01 +11:00
concepts.rst Removed rectangle example from co-ordinate system documentation 2023-05-18 22:14:40 +10:00
image-file-formats.rst Document JPEG 2000 support for writing YCbCr and reading subsampled color 2023-12-26 12:52:27 -06:00
index.rst Clean up Handbook 2015-09-30 06:38:51 -04:00
overview.rst Link method [ci skip] 2019-06-02 13:34:18 +10:00
text-anchors.rst Replace Python code-blocks with double colons 2023-02-24 08:17:10 +11:00
tutorial.rst Use "gray" more consistently 2023-10-19 19:12:01 +11:00
writing-your-own-image-plugin.rst Use "gray" more consistently 2023-10-19 19:12:01 +11:00