mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Updated libimagequant to 4.0.0
This commit is contained in:
parent
e3d98c9aca
commit
9d8f173e39
|
@ -1,14 +1,15 @@
|
|||
#!/bin/bash
|
||||
# install libimagequant
|
||||
|
||||
archive=libimagequant-2.17.0
|
||||
archive=libimagequant-4.0.0
|
||||
|
||||
./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/main/$archive.tar.gz
|
||||
|
||||
pushd $archive
|
||||
pushd $archive/imagequant-sys
|
||||
|
||||
make shared
|
||||
sudo cp libimagequant.so* /usr/lib/
|
||||
sudo cp libimagequant.h /usr/include/
|
||||
cargo install cargo-c
|
||||
cargo cinstall --prefix=/usr --destdir=.
|
||||
sudo cp usr/lib/libimagequant.so* /usr/lib/
|
||||
sudo cp usr/include/libimagequant.h /usr/include/
|
||||
|
||||
popd
|
||||
|
|
|
@ -187,7 +187,7 @@ Many of Pillow's features require external libraries:
|
|||
|
||||
* **libimagequant** provides improved color quantization
|
||||
|
||||
* Pillow has been tested with libimagequant **2.6-2.17.0**
|
||||
* Pillow has been tested with libimagequant **2.6-4.0**
|
||||
* Libimagequant is licensed GPLv3, which is more restrictive than
|
||||
the Pillow license, therefore we will not be distributing binaries
|
||||
with libimagequant support enabled.
|
||||
|
|
Loading…
Reference in New Issue
Block a user