I am using leadtools to get image from scanner driver, how can I save that image to disk (jpg or bmp or any format)?
I am using these dll files:
- Leadtools.dll
- Leadtools.Twain.dll
- Leadtools.Codecs.dll
- Leadtools.WinForms.dll
- Leadtools.WinForms.CommonDialogs.File.dll
thanks & regards
If the image was acquired successfully from the scanner into a RasterImage object, you can use the Leadtools.Codecs.RasterCodecs.Save() method to save either to disk file or stream.
You will also need the appropriate codec assembly such as Leadtools.Codecs.Bmp.dll for BMP or Leadtools.Codecs.Cmp.dll for JPEG.