set_image_validation
Causes the Scan action to validate that the specified input files are all valid image files. Invalid files are moved to the problem folder.
Member of namespace
mvscanSyntax
bool set_image_validation (bool bValidate)
Parameters
- bValidate
- Type: bool
Parameters
bValidate : A Boolean value that enables or disables validating image files during ingestion.True: Check to confirm that each file ingested contains a valid TIFF or JPG image.
False: Copy input files regardless of type or contents. This is the default if the action is not called.
Returns
Always True.Level
Batch level.Details
Enables testing that each file ingested is a valid image file. If enabled, converts black and white TIF files to G4 compression. This action should not be called against invalid file types such as PDFs due to incompatibility.For this action to take effect, it must be called before the Scan action.
- Example:
set_types("tif") set_image_validation("True") scan()