Commit a72b596
committed
Document JPEG 2000 support for writing YCbCr and reading subsampled color
Read support for subsampled RGB and YCbCr color channels was added in
4f4c3b3 and not documented at the time. Write support for YCbCr
appears to date to 61fb89e, 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.1 parent df83428 commit a72b596
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
561 | 562 | | |
562 | 563 | | |
563 | 564 | | |
| |||
0 commit comments