Digital image cropping
AssigneeAmazon Technologies, Inc.
InventorParmanand P. Kejriwal
Life of this patent
Estimating the term…
Abstract
A digital image to be presented on an electronic display of an electronic device is expanded so that the content of the digital image fits the electronic display and the margins are cropped (e.g., rendered invisible) on the electronic display. The initial determination may be for a first total length of a left margin and a right margin of the digital image. The second determination may be for a second total length of a top and a bottom margin of the digital image. An expansion factor based at least in part on the smaller of the first and second total lengths may be derived. The application of the expansion factor enables the creation of an expanded digital image having content that maximally fit the electronic display. In some aspects, the expanded digital image is stored in a data cache.
Claims32
A computer implemented method, comprising:
- under control of one or more computing systems configured with executable instructions,
- determining a first total length of a left margin and a right margin of a digital image for presentation on an electronic book (e-book) reader device;
- determining a second total length of a top margin and a bottom margin of the digital image;
- deriving an expansion factor based at least in part on a smaller length of the first and second total lengths;
- and
- applying the expansion factor to the digital image to create an expanded digital image having content that maximally fits the e-book reader device to effectively crop the margins from display on the e-book reader device.
A non-transitory computer readable medium storing computer-executable instructions that, when executed, cause one or more processors to perform acts comprising:
- receiving a request to display a digital image on an electronic display;
- deriving an expansion factor for the digital image based at least in part on a smaller length of a first length or a second length, the first length including lengths of a left margin and a right margin of the digital image, and the second length including lengths of a top margin and a bottom margin of the digital image;
- applying the expansion factor to the digital image to create an expanded digital image;
- centering the expanded digital image for presentation on the electronic display;
- and
- displaying the expanded digital image on the electronic display so that at least a portion of the margins are cropped from display on the electronic display.
A device comprising:
- a processor;
- and
- memory storing modules executable by the processor, the modules comprising:
- a margin analysis module that derives an expansion factor for an original digital image based at least in part on a smaller length of a first length or a second length, the first length including combined lengths of a left margin and a right margin of the original digital image, and the second length including combined lengths of a top margin and a bottom margin of the original digital image;
- and
- a reformat module that applies the expansion factor to the original digital image to create an expanded digital image that, when rendered on a display of an electronic device, comprises a reformatted margin having a size that is smaller than the size of the margin of the original digital image.
A non-transitory computer readable medium storing computer-executable instructions that, when executed, cause one or more processors to perform acts comprising:
- deriving an expansion factor for an original digital image based at least in part on a smaller length of a first total length and a second total length, the first total length includes combined lengths of a left margin and a right margin of the original digital image, and the second total length includes combined lengths of a top margin and a bottom margin of the original digital image, the expansion factor for applying to the original digital image to create an expanded digital image that, when rendered on a display of an electronic device, comprises a reformatted margin having a size that is smaller than at least one margin of the original digital;
- and
- storing the expansion factor in association with the original digital image in memory of a computing device.
A computer implemented method, comprising:
- under control of one or more computing systems configured with executable instructions,
- receiving expansion factors associated with at least some original digital images of a plurality of original digital images of a digital image collection;
- determining at least one of a median or a mean expansion factor for the plurality of original digital images of the digital image collection based at least in part on the expansion factors;
- expanding at least one original digital image of the digital image collection using the determined median or mean expansion factor to create at least one expanded digital image;
- determining that a data cache is full;
- and
- deleting one or more of a plurality of previously stored original digital images from the data cache prior to storing the at least one expanded digital image in the data cache.
Dependencies are inferred from the claim text.