Need better scanning performance?
ImageSourceOption Parameters
The ImageSourceOption object defines the input source for Dynamsoft Capture Vision, including image directories, scanners, cameras, and other sources.
Example JSON
{
"ImageSourceOptions": [
{
"Name": "DirectoryFetcher_0",
"Type": "IST_DIRECTORY_FETCHER",
"DirectoryPath": "C:\\Users\\Admin\\Pictures\\",
"FileFilter": "",
"Recursive": 1,
"PDFReadingMode": {
"Mode": "PDFRM_RASTER",
"DPI": 300,
"TargetType": "TT_PAGE"
},
"Pages": [0, 3, 5, 7, 10]
}
]
}
Hierarchical Structure
This tree shows one ImageSourceOptions object inside ImageSourceOptions.
ImageSourceOption
├── Name
├── Type
├── DirectoryPath
├── FileFilter
├── Recursive
├── PDFReadingMode
└── Pages
Top-Level Parameters
| Parameter Name | Description |
|---|---|
Name |
The unique name of the ImageSourceOption object. |
Type |
The type of image source. |
DirectoryPath |
The path to the image directory. |
FileFilter |
The file filter for selecting images. |
Recursive |
Whether to search subdirectories recursively. |
PDFReadingMode |
The mode for reading PDF files. |
Pages |
The pages to process from multi-page files. |