Merge pull request #2354 from radarhere/quant

Changed from pngquant to libimagequant
This commit is contained in:
wiredfool 2017-01-16 11:06:51 +00:00 committed by GitHub
commit 55065be2e6

View File

@ -1,14 +1,14 @@
#!/bin/bash
# install libimagequant
archive=pngquant-2.8.2
archive=libimagequant-2.8.2
./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/master/$archive.tar.gz
pushd $archive
make -C lib shared
sudo cp lib/libimagequant.so* /usr/lib/
sudo cp lib/libimagequant.h /usr/include/
make shared
sudo cp libimagequant.so* /usr/lib/
sudo cp libimagequant.h /usr/include/
popd