Details
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
|
|
Name: |
PHP PNG Lossless Compression |
Base name: |
lossless-png |
Description: |
Optimize PNG image compressing with external tools |
Version: |
1.0.6 |
PHP version: |
5.0 |
License: |
GNU Free Documentation License (FDL) |
All time users: |
836 users |
All time rank: |
4137 |
Week users: |
3 users |
Week rank: |
191  |
|
|
 July 2013
Number 8 |
Image formats like PNG allow compressing the data that they contain to represent a given image.
It is possible to achieve different levels of efficiency by varying several compression parameters.
This class can optimize the compression efficiency of PNG images by using different PNG image optimization programs and keeping the output of the program that gave the best results.
Manuel Lemos |
Not yet rated by the users |
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|
|
Files |
|