Innovation Award
 November 2004
Winner |
Sometimes it is necessary to limit the size occupied by the files of image archives to prevent that they take too much disk space.
The size of JPEG image files can be reduced by using a lower quality factor when saving to a file but it is not easy to determine what is the smallest quality factor reduction that guarantees that an image file will not exceed a given limit.
This class provides an approximate solution based on a few tests using different quality factors and then using interpolation to reach a reduction factor close to the ideal value that can be used to keep the file size near the limit.
Manuel Lemos |
To reduce the size of JPEG image file, usually the image is saved with lower quality compression factor.
However, using this method it is not guaranteed that the size of the resulting image file will be smaller than a given size limit.
JPEG Reducer is a class that solves this problem by trying different quality to determine the ideal compression ratio to reduce image to the target limit size just by specifying that limit value in class variable.
This class can be used in public photo gallery to make sure all images are have acceptable size.
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Sufficient (75.0%) |
Good (86.4%) |
- |
Sufficient (79.5%) |
- |
- |
Not sure (54.1%) |
1073 |
| Month: |
Not yet rated by the users |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.