rasterio / rasterio-wheels

MIT License
11 stars 16 forks source link

WebP-in-TIFF support #79

Closed Plantain closed 2 years ago

Plantain commented 2 years ago

Trying to use WebP-in-TIFF TIFF's using these wheels results in: Cannot open TIFF file due to missing codec. Some sleuthing suggests libtiff needs to be built with WebP support to make this happen, and it looks like it should autodetect it.

I suspect this is not working because build_webp doesn't have build_tiff as a dependency, so it hasn't been built at the time libtiff is compiled (https://github.com/rasterio/rasterio-wheels/blob/8f140108365c15582a655aec42510dea2e164fd1/config.sh#L130)

I am still trying to build a wheel myself to confirm this is the right fix and will update this again if successful but thought I would make this now before I forget...