|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2007-09-13 (9 years ago)||Not enough user ratings||Total: 1,216 This week: 2||All time: 3,037 This week: 462|
|jpegfit 1.0.0||Freeware||5.0.0||PHP 5, Graphics|
This class can be used to optimize images to fit within a given file size limit.
JpegFit A PHP class that tries to encode an input image to the jpeg file format with a given file size. It is similar to the JPEG Reducer Class (http://www.phpclasses.org/jpegreducer) but more advanced. This class uses a binary search algorithm to rapidly locate the jpeg quality setting which is close to the target file size. Also, the input image can be of JPEG, PNG, GIF, WBMP, and GD2 formats. If target file size is lower than the minimum possible then lowest quality is used. If target file size is greater than the maximum possible then the highest quality is used. If target file size is inbetween then the closest file size will be found, making sure it does not exceed target file size. 2007-04-12 Added Image Resource getters and setters with examples 2007-03-29 First version Zafar Iqbal <firstname.lastname@example.org>
|61081.jpg||Output||First ever jpeg image to show file size in image?|
|example5.php||Example||Example to demo resize|
|Version Control||Unique User Downloads||Download Rankings|