ScanFix Xpress v9.0 for .NET - Updated
I Need My Images to be a Consistent Size
User Guide > How To > Solve Problems with ScanFix Xpress > I Need My Images to be a Consistent Size

Often documents you are trying to process will have different sizes. The Deskew process, for example, generally enlarges the size of the image to make room for the corners of the original, which may contain information that would be lost if the image were clipped back to its original size. If your documents use a consistent paper size, and have a black overscanned border, then the remove border tool may be the best choice; see the topic My Image has Dark Borders Around It for information on removing these borders.

In other cases, images may be generated from documents of differing sizes, or may have a white overscan that prevents border removal from being used. In this case, the solution is to process the images in two steps:

  1. Use RegisterImage to align the upper left corner of the image in the desired location. For example, if you want the documents to have one-inch margins, then set the resultant margin to 1 times the image resolution. (Set the margin to "300" pixels when processing images with a 300 dpi resolution.)

    Example of Register Image:

  2. Use GetRectangle to generate an image of the desired size. If the original document is larger than the specified rectangle, any excess data will be cut off; if the document is smaller than the specified rectangle, then the extra space will be filled with the pad color.

    Example of Get Rectangle:

Is this page helpful?
Yes No
Thanks for your feedback.