The present invention is directed to optimizing the size of a digital
document by using a content criterion such as size, resolution and the
number of bits per pixel. A plurality of spatial zones are chosen
according to a chosen geometric relation and the content criterion is
ascribed to at least one of the zones. Modification of a size of a
document is performed until a maximization of the quality or result is
achieved.