title: setting the resolution of scanner in wia in vb.net
body: <pre><code>Dim im = scan.Items(1)
                  Dim ima As WIA.ImageFile = im.Transfer(WIA.FormatID.wiaFormatJPEG)
                  Dim binaryD = ima.FileData().BinaryData
                  Dim imagedata As Byte() = DirectCast(binaryD, Byte())
                  Dim ms As New System.IO.MemoryStream(imagedata)
                  Dim JImage = Image.FromStream(ms)
                  JImage.Save("c:\ImageOne.jpg", Imaging.ImageFormat.Jpeg)
  </code></pre>
  
  <p>With the help of above code; My app can successfully scan any document/image. I want to change the resolution of the scanner to get the scanning process complete faster. Please guide me how to set the resolution.</p>