A method of displaying an electronic document on a digital handheld device first
calculates a reduction ratio equal to a ratio of an original document width to
the digital handheld device screen width. The method then calculates color values
of pixels in a reduced document by processing color values of an array of pixels
in the original document. The method builds the reduced document having a size
related to the original document by the reduction ratio. Finally, the method displays
the reduced electronic document on the digital handheld device screen, and allows
a user to switch between the original and reduced documents.