...overview of the extension...
Requirements ¶
- Any version of Yii will work.
- 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.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.