You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The encoder is hard-wired to T.871 §7 full-range BT.601 YCbCr; ChromaSubsampling (4:4:4 / 4:2:2 / 4:2:0) is the only colour lever on JpegEncoder (verified at c2df11b).
Deliver: an XYB sample path alongside YCbCr, following jpegli's approach — XYB-coded samples plus an embedded ICC profile so any conformant decoder reproduces sRGB — selected by an encoder-level colour mode. JpegEncoder::with_icc_profile already exists and can carry the profile emission.
ChromaSubsampling(4:4:4 / 4:2:2 / 4:2:0) is the only colour lever onJpegEncoder(verified atc2df11b).gamut-jpegbelow jpegli's rate-distortion line irrespective of quantization tables (gamut-jpeg: quantization tables are frozen; no custom-table API #332) or trellis (gamut-jpeg: rate-distortion optimized coefficient selection (trellis + adaptive Q) #333) — those close the gap to mozjpeg, not to jpegli.JpegEncoder::with_icc_profilealready exists and can carry the profile emission.jpegli-encode xybas a curated variant, so this is directly measurable against a reference the moment it lands.