ImageEnhance
Runs image processing by using pre-configured image enhancement settings, typically from the imagefix.ini file.
Member of namespace
DCImageFixSyntax
bool ImageEnhance (string BackupFileExtension)Parameters
String: BackupFileExtensionParameters
The file extension that the action is to assign to the backup of the original Image file. For example: tio.
The extension must be at least one character. If the leading period is provided, at least one character must follow it. Long name file extensions are allowed.
Returns
False If the parameter is not 3 or 4 alphanumeric characters, or if an exception is encountered while the image is being enhanced. Otherwise, True.Level
Page or Field Level.Details
Initiates image processing to run a pre-configured set of image enhancements.Include this action after a LoadSettings or LoadSettings_FingerprintID action.
- Example:
-
LoadSettings(C:\ParentDir\Invoice\Process\ImageFix.ini) ImageEnhance("tio")In this example, the ImageFix settings that are specified in ImageFix.ini are applied to every page in the batch. An example of the copied file name is "TM000001.tio".
LoadSettings(C:\ParentDir\Invoice\Process\ImageFix.ini) ImageEnhance("tio.tif")This example uses a longer file extension, which preserves the original file type. This extension makes it easier to view the original file without renaming. An example of the copied file name is "TM000001.tio.tif".
For more information on image enhancement settings, refer this technote.