Leadtools.Wia Getting Started

Summary

LEADTOOLS WIA (Leadtools.Wia assembly)

For pointers to sample programs that demonstrate many features, see the table below:

.NET
Java/Android
JavaScript
Xamarin

.NET

Redistributables Paths

Assembly - Class/Namespace

Comments

Leadtools.Wia.DLL - Leadtools.Wia

The Leadtools.Wia namespace provides support for WIA scanning functionality.

Dependencies

Library Description Dependencies
Leadtools.Wia.dll Core Library

Leadtools.dll


NuGet PackageDescription
Leadtools.Wia WIA Library

Sample Programs

Demo Name Source Code Path Pre-Compiled Executable Path Description
Fast TWAIN \Examples\Scanning\DotNet\FastTwainDemo \Bin\DotNet4\<Win32/x64>\FastTwainDemo_Original.exe

Demonstrates Fast Twain scanning support.

Analyzes the TWAIN source, considering the requested bits per pixel, image type and compression, and finds the best compression type, transfer mode and buffering schemes to get the best performance possible.

Demo Name Source Code Path Pre-Compiled Executable Path Description
TWAIN \Examples\Scanning\DotNet\TwainDemo \Bin\DotNet4\<Win32/x64>\TwainDemo_Original.exe

Demonstrates TWAIN scanning features.

  • Select TWAIN source
  • Acquire images from TWAIN sources
  • Display images acquired from TWAIN sources
  • Save images acquired from TWAIN sources
Demo Name Source Code Path Pre-Compiled Executable Path Description
TWAIN High Level \Examples\Scanning\DotNet\TwainHighDemo \Bin\DotNet4\<Win32/x64>\TwainHighDemo_Original.exe

Demonstrates the high-level LEADTOOLS TWAIN scanning features.

  • Select TWAIN source
  • Acquire images from TWAIN sources
  • Display images acquired from TWAIN sources
  • Save images acquired from TWAIN sources
Demo Name Source Code Path Pre-Compiled Executable Path Description
TWAIN Multi-Page \Examples\Scanning\DotNet\TwainMultipageDemo \Bin\DotNet4\<Win32/x64>\TwainMultiPageDemo_Original.exe

Demonstrates the multi-page scanning with LEADTOOLS TWAIN scanning features.

  • Select TWAIN source
  • Acquire images from TWAIN sources
  • Display images acquired from TWAIN sources
  • Save images acquired from TWAIN sources
Demo Name Source Code Path Pre-Compiled Executable Path Description
TWAIN With Barcode Separator \Examples\Scanning\DotNet\TwainWithBarcodeSeparatorDemo \Bin\DotNet4\<Win32/x64>\TwainWithBarcodeSeparatorDemo_Original.exe

Demonstrates TWAIN scanning and barcode separation feature.

  • Scans pages from a TWAIN source and saves the acquired pages to multi-page TIFF files.

    Uses the LEADTOOLS barcode engine to search for Code128 barcodes on the pages.

    If a user-specified barcode string is detected, the separator is saved to a new TIFF file, which is appended with all subsequent pages until a new separator is detected.

Demo Name Source Code Path Pre-Compiled Executable Path Description
WIA \Examples\Scanning\DotNet\WiaDemo \Bin\DotNet4\<Win32/x64>\WiaDemo_Original.exe

Demonstrates WIA scanning features.

  • Select WIA source
  • Acquire images from WIA sources
  • Display images acquired from WIA sources
  • Save images acquired from WIA sources
Demo Name Source Code Path Description
Leadtools.WebScanning.Plugin \Examples\Scanning\DotNet\WebScanning.Plugin

ActiveX plugin for Internet Explorer to start Leadtools.WebScanning.Host application.

This plugin is registered in WebScanning MSI installation process.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Leadtools.WebScanning.Host \Examples\Scanning\DotNet\WebScanning.Host \Bin\DotNet4\<Win32/x64>\Leadtools.WebScanning.Host.exe

Hosts Leadtools.Services.Twain service.

A custom application url is used for lunaching this application from browsers.
Use "Utils.RegisterAppUrl" method to register a custom application url (for details, please check the Main method implementation of this demo in Program.cs ).

For Internt Explorer: an ActiveX plugin (Leadtools.WebScanning.Plugin.dll) is used for launching this application.

Java/Android

Sample Programs

Demo Name Source Code Path Description
Leadtools Camera (Android) \Examples\Scanning\Android\LeadtoolsCamera

Demonstrates using the camera library that bridges android.hardware.camera and android.hardware.camera2 for easier live capture and single image camera applications.

Demo Name Source Code Path Description
Leadtools.Sane.Host (Java) \Examples\Scanning\Java\Leadtools.Sane.Host  
Demo Name Source Code Path Description
SANE (Java) \Examples\Scanning\Java\SaneDemo
  • Demonstrates SANE scanning features.
  • Acquire images from SANE sources
  • Save images acquired from SANE sources
Demo Name Source Code Path Description
WebScanningRPM (Java) \Examples\Scanning\Java\WebScanningRPM  

JavaScript

Sample Programs

Demo Name Source Code Path Description
Scanning \Examples\Scanning\JS\ScanningDemo

Demonstrates web scanning functionality using TWAIN, SANE, and HTML5 / JavaScript

  • Select a source
  • Scan an image
  • Print images
Demo Name Source Code Path Description
Leadtools.WebScanning.Setup \Examples\Scanning\JS\WebScanning.Setup

Installation package for the LEADTOOLS Web Scanning Twain service.

Install the required components to run the Web Scanning Demo.

Xamarin

Sample Programs

Demo Name Source Code Path Description
Camera \Examples\Scanning\Xamarin\CameraDemo

Demonstrates using the camera library that bridges android.hardware.camera and android.hardware.camera2 for easier live capture and single image camera applications.

See Also

Reference

Introduction

Help Version 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.