Method and system to select a trim size
AssigneeHewlett-Packard Development Company, L.P.
InventorPrakash Reddy
Life of this patent
Estimating the term…
Abstract
In one embodiment, a digitized document, formatted as an image file and representing a scanned original page with a page boundary, is received. An image resolution for the digitized document is identified. A height and width of the page boundary, measured in pixels, is identified. A desired trim size for the digitized document is determined based on a function of the identified page boundary height and width and the image resolution. An available trim size that is closest to the desired trim size is selected for printing of the digitized document, via data indicative of available trim sizes stored in a computer-readable medium.
Claims16
A non-transitory computer-readable medium storing computer executable instructions that when executed by a processing resource implement a method for selecting a trim size for a digitized document to be printed, comprising:
- receiving a digitized document, as one of a plurality of received digitized documents, formatted as an image file and representing a scanned original page with a page boundary;
- identifying an image resolution for the digitized document and each of the plurality of digitized documents;
- responsive to determining that the plurality of received digitized documents includes at least two documents having different image resolutions, scaling at least one of the plurality of digitized documents such that image resolution of each of the plurality of digitized documents is the same;
- identifying a height and width of the page boundary measured in pixels;
- determining a desired trim size for the digitized document based on a function of the identified page boundary height and width and the image resolution;
- and
- selecting for printing of the digitized document, via data indicative of available trim sizes stored in a computer-readable medium, an available trim size that is closest to the desired trim size.
A system for selecting a trim size for a digitized document to be printed, comprising hardware including:
- a receipt module, configured to receive a digitized document, as one of a plurality of received digitized documents, formatted as an image file and representing a scanned original page with a page boundary;
- a resolution module, configured to identify an image resolution for the digitized document and each of the plurality of digitized documents;
- a scaling module, configured to, responsive to determining that the plurality of received digitized documents includes at least two documents having different image resolutions, scale at least one of the plurality of digitized documents such that image resolution of each of the plurality of digitized documents is the same;
- a page boundary module, configured to identify a height and width of the page boundary measured in pixels;
- a determination module, configured to determine a desired trim size for the digitized document based on a function of the identified page boundary height and width and the image resolution;
- and
- a selection module, configured to select for printing of the digitized document, via data indicative of available trim sizes stored in a computer-readable medium, an available trim size that is nearest to the desired trim size.
A method for selecting a trim size for a digitized document, comprising:
- receiving a plurality of digitized documents, each formatted as an image file and representing a scanned original page with a page boundary;
- scaling at least one of the plurality of digitized documents such that image resolution of each of the plurality of digitized documents is the same;
- identifying that each of the plurality of digitized documents has a same first image resolution by extracting image resolutions from the digitized documents;
- cropping a first digitized document to a page boundary;
- identifying a height and width of the page boundary measured in pixels by extracting from the first digitized document;
- determining a desired trim size for the first digitized document, comprising determining a desired trim height by dividing the page boundary height by the first image resolution, and determining a desired trim width determined by dividing the page boundary width by the first image resolution;
- and
- selecting for printing of the digitized document, via a list of available trim sizes stored in a computer-readable medium, an available trim size that is nearest to the desired trim size.
Dependencies are inferred from the claim text.