Image-related questions

How can I remove background noise from each block separately?

Use the RemoveTexture property of the ImageProcessingParams object to remove background noise from individual blocks.

Why does the OpenImage method not open an image file?

This method is intended for opening images in the ABBYY FineReader Engine internal format, although images in other formats can be also opened by using this method but with some restrictions. For image files that are not in the ABBYY FineReader Engine internal format, this method opens only black-and-white images, and only the first page of a multipage image. If the file contains color image and is not in the internal format, an error code will be returned. We recommended that you use the PrepareAndOpenImage method that converts the image file into the ABBYY FineReader Engine internal format and opens it. Or you can use the PrepareImage method and then the OpenImage method. The PrepareImage method converts the image file into the ABBYY FineReader Engine internal format and saves the converted image file into the folder of your choice on the disk.

More details can be found in the documentation chapter: Image-Related Objects.

What's the difference between the ChangeResolution method of the ImageDocument object and the OverwriteResolution property of the PrepareImageMode object?

The ChangeResolution method changes the resolution of an already existing image. If the OverwriteResolution property of the PrepareImageMode object is set to TRUE, upon opening the image the program will use the resolution set in the XResolutionToOverwrite and YResolutionToOverwrite properties for image pre-processing (i.e. for binarization, deskewing, etc.).

More details can be found in the documentation chapter: ImageDocument.

How to open one page of a multi-page file?

You can use PrepareImage method of Engine object to open one page of a multi-page file:

Method PrepareImage(
  fileName         As String, 
  destDir          As String,
  prepareMode      As PrepareImageMode,
  pageNumber       As Long, 
  passwordCallback As ImagePasswordCallback,
  documentInfo     As DocumentInfo
) As StringsCollection

The fourth parameter is pageNumber. This parameter contains the number of page to process (zero-based). This parameter is optional and may be -1, in which case all pages of the image file are extracted.

Back to:

This website uses cookies which enable you to see pages or use other functions of our websites. You can turn off such cookies in your browser’s settings. If you continue to use these pages, you consent to the use of cookies.
  • No tags, yet