Patent ID: 8782551

Claim:
A computer-implemented method comprising: accessing an electronic book that includes a sequence of book page images, wherein each book page image is a digital image of an actual book page and includes text; accessing a template that is generated by processing at least one book page image of the sequence of book page images, the processing at least one book page image of the sequence of book page images including determining a median height or a median width of text in the at least one book page image to determine the dimensions of the representative text bounding box of the template, wherein the template indicates dimensions of a representative text bounding box for the sequence of book page images of the electronic book; determining, for each of one or more book page images of the sequence of book page images, whether the book page image has text that substantially fills the representative text bounding box, the determining whether the book page image has text that substantially fills the representative text bounding box including determining whether dimensions of the text are within prescribed thresholds of the median height or the median width; for each of one or more of the book page images of the sequence of book page images that has text that substantially fills the representative text bounding box, scaling the book page image based at least on (i) dimensions of a user interface through which the book page image is displayed, and (ii) the dimensions of the representative text bounding box; for each of one or more of the book page images of the sequence of book page images that has text that does not substantially fill the representative text bounding box, scaling the book page image based at least on (i) a minimum text height, or (ii) a maximum text width; and providing one or more of the scaled book page images for display through the user interface.