Skip to content

fix: Match rasterio/libtiff output values for jpeg ycbcr decoding#267

Open
kylebarron wants to merge 12 commits intomainfrom
kyle/match-rasterio-jpeg-ycbcr-decoding
Open

fix: Match rasterio/libtiff output values for jpeg ycbcr decoding#267
kylebarron wants to merge 12 commits intomainfrom
kyle/match-rasterio-jpeg-ycbcr-decoding

Conversation

@kylebarron
Copy link
Member

@kylebarron kylebarron commented Mar 4, 2026

Change list

  • Uncomment Python integration tests against rasterio with ycbcr jpeg compression
  • Switch JPEG decoder to mozjpeg, which uses libjpeg-turbo under the hood
  • Parse the reference_black_white tiff tag, used for ycbcr rgb decoding
  • Handle parsing Rational values to f64

Closes #266

@github-actions github-actions bot added the fix label Mar 4, 2026
@kylebarron
Copy link
Member Author

kylebarron commented Mar 4, 2026

These tests passed locally but then failed on CI! So it seems there's a platform difference either for rasterio or for us!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Match Ycbcr TIFF decoding to rasterio/libtiff

1 participant