ImageGear for C and C++ on Windows v19.0
Redact

The redact operation is conducted by an ImageGear redactor object (HIG_REC_REDACTOR) against an array of matches (AT_REC_MATCH_RESULT) to produce redacted duplicates of the searched page (HIGEAR), document (HMIGEAR), or Unicode string.

To redact a page, document or string:

Create the Redactor Object

Manage the lifetime of the redactor object using IG_REC_redactor_create and IG_REC_redactor_delete.

Create a redactor object using the function IG_REC_redactor_create. When it is no longer needed, use the function IG_REC_redactor_delete to release its resources.

ImageGear HIG_REC_REDACTOR instances are not thread-safe. Callers are responsible for synchronizing access to instances shared across multiple threads before invoking operations that could modify or delete that instance.

Configure the Redaction

After creating a redactor object, configure the style information used to redact search matches and to receive notifications as the matches are redacted. Configurable settings include:

Redact Recovered Matches

After the redactor has been configured, redact the matches recovered from the search of the page, document or Unicode string using the function IG_REC_redactor_redact.

  • When redacting a single-page image, the image data referenced with HIGEAR is replaced upon successful completion.
  • When redacting a multi-page image, page image data referenced with HMIGEAR is replaced after all matches for that page are successfully redacted.
  • When redacting a recognition page, the image data referenced with HIG_REC_IMAGE is not modified upon successful completion. Install a redacted callback to recover the redacted image data.
  • When redacting a recognition document, the data referenced with HIG_REC_DOCUMENT is not modified upon successful completion. Install a redacted callback to recover the redacted image data.

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback