extensionlosslesspng

Lossless compression for PNG images
2 followers

...overview of the extension...

Requirements

  1. Any version of Yii will work.
  2. Must have optiPNG, Advpng and pngdef installed.

Usage

Copy the class LossylessHelper.php to helper folder. in your application just call the class like follows: To compress the image by lossless: LossylessHelper::lossylessImg('\img\example.png');

To compress the images in the folder: LossylessHelper::lossylessFolder('\img');

Resources

https://github.com/anandarajpandey/losssylesscompressionPHP.git

Let us know if you found any bugs or have any suggestion in our github repo. thanks: Ananda Raj Pandey.

Be the first person to leave a comment

Please to leave your comment.

Create extension