Patent ID: 8140603

Claim:
A method, comprising: determining, by employing at least one processor executing computer executable instructions embodied on at least one non-transitory computer readable medium, an unused amount of a target set size for a set of images; computing a target size range for an image of the set of images based at least on the determined unused amount of the target set size of the set of images and a frequency energy content of the image; computing a compression quality for the image based at least on the computed target size range; reducing the determined unused amount of the target set size by a size computed for the image, wherein the computed size is based on the computed compression quality for the image; and repeating, by the employed at least one processor, the acts of determining the unused amount, computing the target size range, computing the compression quality, and reducing the unused amount for each of other images in the set of images for which compression quality has not been computed.