March 18th, 2009, 07:04 AM
Using WIA to scan in VB6
Files created using the ShowAcquireImage method are huge [approx 26MB]. The same documents scanned using the ShowAcquisitionWizard method are a sensible size [approx 180KB], but there's no programmatic control over the user interface, specifically the path and name of the saved jpg file.
Can I control the ShowAcquireImage method to use parameters comparable to ShowAcquisitionWizard, or alternatively use the latter but with programmatic control over the user interface?
My code is
Set Picture1.Picture = CommonDialog1.ShowAcquireImage.FileData.Picture
SavePicture Picture1, "C:\ClientData\Sherriff\Scans\VBSAIPic.jpg"
Thanks for any assistance.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.