Patent ID: 7188310

Claim:
A method for automatic layout of a photobook page comprising: receiving a number of images for placement onto the photobook page, the photobook page having a first dimension and a second dimension wherein the first dimension is greater than the second dimension; approximating a square root of the number of images by rounding the square root of the number of images; determining a total number of page divisions along the first dimension of the photobook page, wherein the total number of page divisions corresponds to the approximated square root; evaluating whether the photobook page is to be divided into a regular array of image areas using a modulus of the number of images and the square root; establishing a grid on the photobook page as a regular array when a modulus for the approximated square root and the number of images is zero; otherwise, determining a number of image areas to be included in a page division using a ratio of the number of images to the approximated square root, the number of image areas for an irregular array being based on a rounded-up approximation of the ratio for one set of page divisions, and a rounded-down approximation of the ratio for another set of page divisions; and distributing the images automatically on the photobook page among the multiple image areas.