www.compression-links.info: Find, download & compress!


HOME / JPEG Fit PHP class >> About | Add link | Editors login

JPEG Fit PHP class

website 0.3 JPEG Fit PHP class  http://www.phpclasses.org/jpegfit
 rating: not rated

This PHP 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.

Link categories:

Created: 14 Apr 2007 12:09
Published: 22 Jan 2008 13:29
Last Updated: 22 Jan 2008 13:30 by Maxim Smirnov

Other links to site phpclasses.org:

1 links to this site were found

Back to top

Compression Links RSS feed Rambler's Top100 rating@Mail.ru