JPEG Fit

JPEG Fit is a PHP class that 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.

Tags multimedia Graphics Graphics Conversion Software Development Libraries php classes
Operating Systems OS Independent
Implementation PHP

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  13 Apr 2007 16:53
  • Rrelease-after

No changes have been submitted for this release.

2e29c96a80240b0c51889c00c0ab8207_thumb

Project Spotlight

NeroLINUX

A graphical CD/DVD burning application.

No-screenshot

Project Spotlight

KSI Scheme

An implementation of the Scheme programming language