OCR SDK Knowledge Base

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

Image modifications

Description

How to get information about whether an image was modified on opening and what modifications were done?

Solution

Use the following properties of ImageDocument object:

ImageRotation

Specifies rotation that was performed upon the current ImageDocument object from the opening or from the last call to the SaveModified method.

ImageWasInverted

This property set to TRUE specifies that the image colors were inverted after opening or after the last call to SaveModified method.

ImageWasMirrored

This property set to TRUE specifies that the image was mirrored around the vertical axis after opening or after the last call to SaveModified method.

IsModified

Specifies if any modifications were made upon the ImageDocument object since it was obtained from the image file or from the last call of the SaveModified method. Information about modifications is available through the ImageWasInverted, ImageWasMirrored and ImageRotation properties.

297 people think this is helpful.
Was this information helpful to you?