Technique for accomplishing copy and paste and scan to fit using a standard TWAIN data source
First Claim
1. A method operative to accomplish copy and paste, and scan to fit, using a TWAIN data source, the method comprising the steps of:
- selecting a target portion of a destination image, displayed in an application;
selecting a portion of a source image, displayed in a source user interface;
passing coordinate information, corresponding to the selected portion of the source image, to the application;
determining at least one resizing parameter based on a differences between the target portion and the selected portion of the source;
scanning the selected portion of the source image in a manner that is based on the resizing parameters, to generate a properly scaled copy of the selected portion of the source image; and
pasting the properly scaled copy in the target portion of the destination image.
7 Assignments
0 Petitions
Accused Products
Abstract
A method for copying and pasting a selected portion of an image from a TWAIN compliant image source includes scanning the selected image portion to fit in a target area of a destination image. Dimensional information regarding the selected portion of the source image is made available to the application. The application compares dimensions of the target area with the dimensional information of the selected source image portion and determines resizing parameters. The application requests a scan of the selected portion of the source image based on the resizing parameters and pastes the resulting image in the target area. An image processing system operative to carry out the method includes and a TWAIN compliant application that is adapted to calculate resizing parameters and request scans basted on the resizing parameters. In a xerographic environment, the image processing system includes a xerographic printer.
-
Citations
17 Claims
-
1. A method operative to accomplish copy and paste, and scan to fit, using a TWAIN data source, the method comprising the steps of:
-
selecting a target portion of a destination image, displayed in an application;
selecting a portion of a source image, displayed in a source user interface;
passing coordinate information, corresponding to the selected portion of the source image, to the application;
determining at least one resizing parameter based on a differences between the target portion and the selected portion of the source;
scanning the selected portion of the source image in a manner that is based on the resizing parameters, to generate a properly scaled copy of the selected portion of the source image; and
pasting the properly scaled copy in the target portion of the destination image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method operative to copy and paste a portion of a TWAIN compliant data source image into an image displayed by a TWAIN compliant application, the method comprising the steps of:
-
selecting a preview mode resolution setting;
determining initial selection box settings;
opening a TWAIN compliant data source, thereby placing the data source in TWAIN state 4;
enabling the data source with TWAIN parameter SHOWUI=TRUE and passing the selected preview mode resolution setting and the selection box settings to the data source, thereby causing an image to be pre-scanned and displayed along with a selection box, according to the initial selection box settings, and placing the data source in TWAIN state 5;
adjusting the selection box settings if need be, in order to select a desired portion of the image for scanning and copying;
scanning the selected portion of the image thereby transitioning to TWAIN state 6;
transferring the scanned portion to the application, thereby passing adjusted selection box settings to the application;
returning the source back through TWAIN states 6, 5, and 4;
determining resizing parameters based on the adjusted selection box settings and dimensions of a target area in the image in the application;
enabling the data source with TWAIN parameter SHOWUI=FALSE and passing resizing parameters and the adjusted selection box settings to the data source, thereby causing the image to be scanned, creating an appropriately sized copy of the selected portion of the image;
transferring the appropriately sized copy of the selected portion of the image to the application;
placing the copy of the selected portion of the image in the target area. - View Dependent Claims (10, 11, 13, 14, 15, 16, 17)
-
-
12. An image processing system operative to communicate with a TWAIN image source, and copy and paste and scan to fit a selected portion of a source image into a selected target area in a destination image, the image processing system comprising:
-
a TWAIN image source;
a source manager;
an application operative to communicate with the image source, through services of the source manager, to receive a properly sized copy of the selected portion of the source image, and to automatically paste the properly sized copy of the selected portion of the source image into the selected target area of the destination image to generate a revised image; and
an output device operative to receive the revised image.
-
Specification