A pngquant utility wrapper PHP extension using the Zephir language
- the pngquant command-line utility
Compile phppngquant:
cd phppngquant/ext
phpize .
./configure
make
make install
Add extension to your php.ini
extension=pngquant.so
Finally restart/reload php
Install zephir
Compile phppngquant:
cd phppngquant
zephir generate
zephir compile
Add extension to your php.ini
extension=pngquant.so
Finally restart/reload php