The JPEG-LS HDF5 filter allows the multi-threaded compression of HDF5 datasets using the JPEG-LS codec.
On Ubuntu 18.04 or above, install the following packages:
sudo apt install build-essential ninja meson hdf5-tools libhdf5-dev
The filter depends on the CharLS implementation of JPEG-LS, https://github.com/team-charls/charls It is automatically downloaded by the Meson build system during the configuration process.
-
First, configure the build system:
meson --buildtype=release -Db_lto=true build/release
-
Build the hdf5 filter plugin:
ninja -C build/release
-
(Optional) Run tests:
ninja -C build/release test
Execute the following to install the plugin:
ninja -C build/release install
when prompted, enter admin password to continue.