1. A method comprising: assigning, with a computer system, attributes to text zones in an electronic version of a document, wherein the attributes include scaling and importance information for text zones; and reformatting, with the computer system, the electronic version of the document using one or more of the text zones selected and reformatted based on assigned attributes to generate the image representation at a target size.