# US 8,542,398 B2 · Method and system to select a trim size

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,542,398 B2
- Document ID: US8542398B2
- Status: Granted
- Kind: B2
- Application number: 12/975,017
- Filed: 2010-12-21
- Published: 2012-06-21
- Granted: 2013-09-24
- Earliest claimed: 2010-12-21
- Assignees: Hewlett-Packard Development Company, L.P.
- Applicants: Prakash Reddy
- Inventors: Prakash Reddy
- Web page: https://patentgrep.com/patent/US8542398B2

## CPC

- H04N 1/2323: {according to characteristics of the reproducing medium, e.g. type, size or availability}
- H04N 1/233: {according to characteristics of the data to be reproduced, e.g. number of lines}
- H04N 1/2353: {Selecting a particular reproducing medium from amongst a plurality of media or from a particular tray, e.g. paper or transparency}
- H04N 1/2384: {for fitting data onto a particular reproducing medium without modifying the image data}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## 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.

## Claims

### Claim 1

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.

### Claim 2 (depends on 1)

The medium of claim 1, wherein determining the desired trim size comprises determining a desired trim height by dividing the page boundary height by the image resolution, and determining a desired trim width determined by dividing the page boundary width by the image resolution.

### Claim 3 (depends on 1)

The medium of claim 1, wherein the identified image resolution is extracted from the digitized document.

### Claim 4 (depends on 1)

The medium of claim 1, wherein the identified image resolution is extracted from a file separate from the digitized document.

### Claim 5 (depends on 1)

The medium of claim 1, wherein the height and width for the page boundary are extracted from the digitized document.

### Claim 6 (depends on 1)

The medium of claim 1, further comprising cropping the digitized document to the identified page boundary.

### Claim 7 (depends on 1)

The medium of claim 1, wherein the height and width for the page boundary are extracted from a file separate from the digitized document.

### Claim 8 (depends on 1)

The medium of claim 1, wherein each of the plurality of received digitized documents have page boundaries with a substantially same height and width relative to one another.

### Claim 9 (depends on 1)

The medium of claim 1,
wherein the plurality of received digitized documents have page boundaries with differing heights or widths relative to one another; and
further comprising identifying the height and width of at least one other digitized document; and
wherein the determining of the desired trim size is additionally a function of the height and width of the least one other digitized document.

### Claim 10 (depends on 1)

The medium of claim 1, wherein the plurality of digitized documents are received via a multi-document image file, and further comprising separating the documents contained in the multi-document file into separate single-document image files.

### Claim 11

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.

### Claim 12 (depends on 11)

The system of claim 11, wherein determining the desired trim size comprises determining a desired trim height by dividing the page boundary height by the image resolution, and determining a desired trim width determined by dividing the page boundary width by the image resolution.

### Claim 13 (depends on 11)

The system of claim 11, wherein the identified image resolution is extracted from the digitized document.

### Claim 14 (depends on 11)

The system of claim 11, wherein the height and width for the page boundary are extracted from the digitized document.

### Claim 15 (depends on 11)

The system of claim 11, further comprising a cropping module, configured to crop the digitized document to the identified page boundary.

### Claim 16

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.
