PHPackages                             ourcodeworld/php-pngquant - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. ourcodeworld/php-pngquant

ActiveLibrary[Image &amp; Media](/categories/media)

ourcodeworld/php-pngquant
=========================

A non-official PHP Wrapper class for pngquant, the command-line utility and a library for lossy compression of PNG images.

v1.0.2(9y ago)14231.5k—1.4%9mitPHPPHP &gt;=5.3.0

Since Jan 15Pushed 9y ago2 watchersCompare

[ Source](https://github.com/ourcodeworld/php-pngquant)[ Packagist](https://packagist.org/packages/ourcodeworld/php-pngquant)[ RSS](/packages/ourcodeworld-php-pngquant/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

What is PHP PNGQuant
====================

[](#what-is-php-pngquant)

PHP-PNGQuant is a non-official wrapper for the great [PNGQuant](https://github.com/pornel/pngquant), the command-line utility and a library for lossy compression of PNG images.

Requirements
============

[](#requirements)

You need `pngquant` accesible from the PATH. If the utility isn't available for any reason, you can change the path to the binary using the `setBinaryPath` method:

```
