Describe the bug
I tried to compress a couple of images with XYB colorspace and different chroma subsampling settings, but found them all to be very blurry except for 4:4:4, and it seems that Luma is subsampled as well. Without using XYB there is no such problem.
Is this a bug? Or it is not recommended to use XYB and chroma subsampling together?
To Reproduce
Compress an image using jpegli with args given below.
Expected behavior
The output image should be about as crisp as the input image.
Screenshots
Test image: https://r0k.us/graphics/kodak/kodak/kodim21.png
cjpegli kodim21.png kodim21_444.jpg --xyb --chroma_subsampling=444 -q 50

cjpegli kodim21.png kodim21_420.jpg --xyb --chroma_subsampling=420 -q 50 looks blurry compared with 4:4:4.

cjpegli kodim21.png kodim21_422.jpg --xyb --chroma_subsampling=422 -q 50 looks blurry and stretched horizontally.

cjpegli kodim21.png kodim21_440.jpg --xyb --chroma_subsampling=440 -q 50 looks blurry and stretched vertically.

Environment
Describe the bug
I tried to compress a couple of images with XYB colorspace and different chroma subsampling settings, but found them all to be very blurry except for 4:4:4, and it seems that Luma is subsampled as well. Without using XYB there is no such problem.
Is this a bug? Or it is not recommended to use XYB and chroma subsampling together?
To Reproduce
Compress an image using jpegli with args given below.
Expected behavior
The output image should be about as crisp as the input image.
Screenshots
Test image: https://r0k.us/graphics/kodak/kodak/kodim21.png
cjpegli kodim21.png kodim21_444.jpg --xyb --chroma_subsampling=444 -q 50cjpegli kodim21.png kodim21_420.jpg --xyb --chroma_subsampling=420 -q 50looks blurry compared with 4:4:4.cjpegli kodim21.png kodim21_422.jpg --xyb --chroma_subsampling=422 -q 50looks blurry and stretched horizontally.cjpegli kodim21.png kodim21_440.jpg --xyb --chroma_subsampling=440 -q 50looks blurry and stretched vertically.Environment