Leadtools.Sane Getting Started

Summary

.NET
Java/Android
JavaScript
Xamarin

.NET

Sample Programs

Name Path Description
Fast TWAIN Demo \Examples\Scanning\DotNet\FastTwainDemo

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.

TWAIN Demo \Examples\Scanning\DotNet\TwainDemo

Demonstrates TWAIN scanning features.

  • Select TWAIN source
  • Acquire images from TWAIN sources
  • Display images acquired from TWAIN sources
  • Save images acquired from TWAIN sources
TWAIN High Level Demo \Examples\Scanning\DotNet\TwainHighDemo

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
TWAIN Multi-Page Demo \Examples\Scanning\DotNet\TwainMultipageDemo

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
TWAIN With Barcode Separator Demo \Examples\Scanning\DotNet\TwainWithBarcodeSeparatorDemo

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.

WIA Demo \Examples\Scanning\DotNet\WiaDemo

Demonstrates WIA scanning features.

  • Select WIA source
  • Acquire images from WIA sources
  • Display images acquired from WIA sources
  • Save images acquired from WIA sources
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.

Leadtools.WebScanning.Host \Examples\Scanning\DotNet\WebScanning.Host

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

Redistributables Paths

Path Target Platform
<installdir>\dist\x86 x86
<installdir>\dist\armeabi armeabi
<installdir>\dist\armeabi-v7a armeabi-v7a

Dependencies


Library Description Dependencies
leadtools.sane.jar The Leadtools.Sane package provides support for Scanner Access Now Easy (SANE) scanning functionality.

leadtools.jar

libltsane.so


NuGet PackageDescription
N/ANot applicable

Sample Programs

Name Path Description
Leadtools Camera Demo (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.

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

JavaScript

Sample Programs

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

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

  • Select a source
  • Scan an image
  • Print images
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

Name Path Description
Camera Demo \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

Version History

Leadtools.Sane Assembly Changes

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

Leadtools.Sane Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.