PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of nepala   PHP PNG Lossless Compression   README.md   Download  
File: README.md
Role: Documentation
Content type: text/plain
Description: doc
Class: PHP PNG Lossless Compression
Optimize PNG image compressing with external tools
Author: By
Last change: Update of README.md
Date: 7 months ago
Size: 897 bytes
 

Contents

Class file image Download
Yii PHP loss less (lossyless) compression class ======================== PHP lossless (lossyless) compression helper class using optiPNG advPNG and advdef. All these component must be installed in the server to use this class. Installation of these components can be achieve by just installing advanceMAME: http://sourceforge.net/projects/advancemame/ This class can be used independently or with Yii framework. Examples: To compress the image by lossyless: LossylessHelper::lossylessImg('\img\example.png'); To compress the images in the folder: LossylessHelper::lossylessFolder('\img'); To use this class with other frameworks or independently: just comment the lines: if ($log) Yii::log($log); As: // if ($log) // Yii::log($log); Any contribution to the class is highly appreciated. @author Ananda Raj Pandey