-thumbnail |
Top Previous Next |
-thumbnail "xPercent yPercent"
Creates thumbnails of the images acquired by the TWAIN device. The xPercent and yPercent denote the percentage scaling for the width and the height, respectively. A percentage value of 100 denotes no scaling.
For example, to generate thumbnail images that are 25% of the original size of the image in both the width and height, the following command line should be used:
DTWAIN_TwainSave("-thumbnail \"25 25\" (other options...)");
Note that in the example above, C/C++ escape sequences are used to embed double quotes in the string. Please consult your language as to the proper way to insert double quotes within quoted strings.
Default Setting: If -thumbnail is given with no scaling information, the default is 25% in both xPercent and yPercent. If -thumbnail is not specified, the image is not scaled.
|