OCR SDK Knowledge Base

Article ID: 1123 | Category: Image Processing | Type: Tips & Tricks | Last Modified: 9/11/2015

Change resolution

Description

How to change an image resolution?

Solution
  • When you opening an image you can set OverwriteResolution or AutoOverwriteResolution properties of the PrepareImageMode object are set to TRUE. In this case the new resolution will be used for image preprocessing (i.e. for binarization, deskewing, etc.).
  • To change the resolution of an image that is already opened, use the ChangeResolution method of the ImageDocument object.
  • To select the best resolution from the specified range and changes resolution of the page image to the selected one use the CorrectResolution method of the FRPage object.
  • To change the image resolution simultaneously with the image size use the StretchRatio property of ImageModification object.
600 people think this is helpful.
Was this information helpful to you?