JPEG Fit

Optimized solution to reduce the size of picture in order to fit a given file size limit
Posted by Scripts on 2022-08-15 20:50:51
License Type
License Type
Freeware
Description
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.
Author

ultrasine

Ratings & Review
Uh oh! We couldn't find any review for this listing.
Post Review
License Type
License Type
Freeware