Hi
We tried the whole process, the dependency is a little complex.
You can refer the steps as bellow.
imagecodecs== 2020.2.18 Installation
Install Ubuntu18.04 Dependency
sudo apt install cython libaec-dev libblosc-dev libbrotli-dev libghc-bzlib-dev libgif-dev libopenjp2-7-dev liblcms2-dev libjpeg-dev libjxr-dev liblz4-dev liblzma-dev libpng-dev libsnappy-dev libtiff-dev python3-numpy
Adjust header file location(A little disgusting…)
sudo ln -s /usr/include/openjpeg-2.3/* /usr/include/
sudo ln -s /usr/include/jxrlib/* /usr/include/
Install brunsli v0.1,you can’t get through apt
git clone GitHub - google/brunsli: Practical JPEG Repacker
cd brunsli
git checkout v0.1
git submodule update --init --recursive
mkdir build && cd build
cmake … -DCMAKE_BUILD_TYPE=Release
make
sudo make install
**Install libtiff 4.1.0,to replace 4.0.9,or ** error: ‘COMPRESSION_ZSTD’ undeclared happens
sudo apt purge libtiff-dev
git clone libtiff / libtiff · GitLab
cd libtiff/
git checkout v4.1.0
./autogen.sh
./configure
make
sudo make install
install with pip
pip3 install imagecodecs==2020.2.18 -i https://pypi.tuna.tsinghua.edu.cn/simple
Successfully installed imagecodecs-2020.2.18
Thanks.