Thumbnail Images |
Top Previous Next |
Thumbnail images are smaller versions of the actual acquired image. If the Source supports acquiring images as thumbnails, DTWAIN allows you to use this option. Note that not all Sources support thumbnail images, so your application should call DTWAIN_IsThumbnailSupported before attempting to acquire thumbnail images.
Enabling / Disabling Thumbnail Images
Testing for Thumbnail Availability
If the device does not support thumbnail images, you can still scan the image and have DTWAIN scale the image to the desired size. The DTWAIN_SetAcquireImageScale function allows you to scan an image and scale it to the desired proportions. The difference between DTWAIN_SetAcquireImageScale and DTWAIN_EnableThumbnail is that DTWAIN_EnableThumbnail uses the Twain driver's thumbnail option, while DTWAIN_SetAcquireImageScale bypasses the TWAIN driver and DTWAIN will scale the image. |