Login   Register  
PHP Classes
elePHPant
Icontem

JPEG Fit: Optimize images to fit in a given file size limit

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Zafar Iqbal
Name: Zafar Iqbal is available for providing paid consulting. Contact Zafar Iqbal .
Packages: 8 Browse all classes by Zafar Iqbal Browse all classes by
Country: Greece Greece - PHP jobs in Greece
Age: 40
All time rank: 2962 in Greece Greece
Week rank: 571 Down3 in Greece Greece Down
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to optimize images to fit within a given file size limit.

It takes a picture in any format supported by the GD library and generates a JPEG picture with the maximum quality factor that makes the picture file size not exceed a given limit.

This class is similar to the JPEG Reducer class. It uses the binary search algorithm to reach the ideal quality factor in the smallest number of iterations.

The class stops searching when a given number of limit iterations is reached or when the quality factor difference between the ideal and the found values is less than the configured precision value.

  Classes of Zafar Iqbal  >  JPEG Fit  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: JPEG Fit
Base name: jpegfit
Description: Optimize images to fit in a given file size limit
Version: 1.0.0
PHP version: 5.0.0
License: Freeware
All time users: 1082 users
All time rank: 3138
Week users: 0 users
Week rank: 1788 Equal
 
  Groups   Screenshots Screenshots   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Graphics Colors, images, charts and picture formats View top rated classes

  Files folder image Screenshots  
First ever jpeg image to show file size in image?
File Role Description
Accessible without login Image file 61081-bytes.jpg Screen First ever jpeg image to show file size in image?


  Freshmeat project  
JPEG Fit
Project record: jpegfit
Popularity score: 13.27
Vitality score: 1.0

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
JPEG Reducer Similar PHP Class

  Files folder image Files  
File Role Description
Accessible without login Image file 61081.jpg Output First ever jpeg image to show file size in image?
Plain text file class-jpegfit.php Class JpegFit Class
Plain text file example1.php Example Example 1
Plain text file example2.php Example Example 2
Plain text file example3.php Example Example 3
Plain text file example4.php Example Example 4
Plain text file example5.php Example Example to demo resize
Plain text file README Data README

Install with Composer Install with Composer - Download Download all files: jpegfit.tar.gz jpegfit.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.