Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Technique for accomplishing Cut and multiple Paste while multiple Scan to Fit using a standard TWAIN data source

IP.com Disclosure Number: IPCOM000019173D
Publication Date: 2003-Sep-03
Document File: 2 page(s) / 18K

Publishing Venue

The IP.com Prior Art Database

Abstract

Most imaging application programs provide a view of an image. Most TWAIN data sources (scanner drivers) provide a preview. The ability to cut a piece of a new image and paste it onto an existing image, using "scan to fit" operation, is very useful. "Scan to fit" operations resize the new image piece while doing the cut and paste operation. An extension to that is cut, scan to fit, and paste an image onto multiple areas of the existing image. This proposal suggests a technique for doing all operations, using standard TWAIN triplets while taking advantage of the data source's user interface to make the new image selection. Normally it is not be possible to perform this operation because the triplet that causes the data source's user interface to appear also causes a transition to TWAIN state 5. Once this happens it is too late to change the scaling or resolution at which the scan will occur. These cannot be appropriately set before the user interface is visible because the input size is not known. This concept solves this problem without adding custom capabilities to the data source, thereby ensuring device independence.

This text was extracted from a Microsoft Word document.
This is the abbreviated version, containing approximately 45% of the total text.

Technique for accomplishing Cut and multiple Paste while multiple Scan to Fit using a standard TWAIN data source.

Most imaging application programs provide a view of an image. Most TWAIN data sources (scanner drivers) provide a preview. The ability to cut a piece of a new image and paste it onto an existing image, using “scan to fit” operation, is very useful. “Scan to fit” operations resize the new image piece while doing the cut and paste operation. An extension to that is cut, scan to fit, and paste an image onto multiple areas of the existing image. This proposal suggests a technique for doing all operations, using standard TWAIN triplets while taking advantage of the data source’s user interface to make the new image selection. Normally it is not be possible to perform this operation because the triplet that causes the data source’s user interface to appear also causes a transition to TWAIN state 5. Once this happens it is too late to change the scaling or resolution at which the scan will occur. These cannot be appropriately set before the user interface is visible because the input size is not known. This concept solves this problem without adding custom capabilities to the data source, thereby ensuring device independence.

It might be helpful to first walk through a hypothetical “cut, and multiple paste while multiple scan to fit” scenario from the users point of view:

 

  1. The user brings an image into the application from a file or scanned.
  2. The user brings up Data Source UI modelessly, selects preview, and after scan is done previews scanned source image.
  3. Using a virtual rubber band box, the user makes a selection of the crop region in the source image.
  4. Using the rubber band box, the user selects a new paste area in the application.
  5. When a paste area is selected, the application requests new scan from the data source to place the image. Request for the scan can be generated by releasing the rubber band box (left mouse button up event) or after the prompting.
  6. The area cropped in stage 3 is scanned.
  7. The scanned area is resized to fit into the output image in the location the user selected. It may be scaled amorphically, or scaled to fill up one dimension while the other dimension floats. The floating dimension is less than the selected area.
  8. The new scaled image is placed into the destination image in the location specified by the rubber band box (selected in stage 4) in the application, and stages 4 through 8 are repeated as many times, as desired.
  9. When the user is finished with the current input image, he/she places new input image on the scanner’s platen, and returns to stage 2.

Note: The Data Source UI goes down only once in the work cycle of a new input image after the very first paste region is selected in the application, and scan requested. It can be brought up only in stage 2 when a new input image is placed on the scanner’s platen.

The described flow allows multiple paste of the same cropped portion of the sou...