microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.09k stars 6.37k forks source link

[gdal] Enable JPEG-XL driver via libjxl #29785

Closed ThGravo closed 1 year ago

ThGravo commented 1 year ago

GDAL supports the JPEG-XL format via libjxl (https://gdal.org/drivers/raster/jpegxl.html). libjxl is already in vcpkg thus it should be straightforward to add this feature to the GDAL port.

dg0yt commented 1 year ago

It is not yet ready to use for static linkage. https://github.com/microsoft/vcpkg/pull/29822#pullrequestreview-1312557283.

dg0yt commented 1 year ago

And even GDAL cannot give us what we need: "... packages that follow rules of not using vendored libraries can't use the JXL codec for now." https://lists.osgeo.org/pipermail/gdal-dev/2023-March/056983.html

This means: vcpkg cannot use the JXL codec for now. Early adopters must do a custom GDAL build with the vendored TIFF lib.

jimwang118 commented 1 year ago

And even GDAL cannot give us what we need: "... packages that follow rules of not using vendored libraries can't use the JXL codec for now." https://lists.osgeo.org/pipermail/gdal-dev/2023-March/056983.html

This means: vcpkg cannot use the JXL codec for now. Early adopters must do a custom GDAL build with the vendored TIFF lib.

@ThGravo Are you satisfied with this solution? If you have no comments, I will close this issue tomorrow.

dg0yt commented 1 year ago

@ThGravo You are the person which should be able to test https://github.com/microsoft/vcpkg/pull/29822 with real data.

jimwang118 commented 1 year ago

Thanks for posting this issue. Please reopen this issue if this is still a problem for you.