Vintasoft.WiaImageScanning
15.3.9.1
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Framework 4.7.2
This package targets .NET Framework 4.7.2. The package is compatible with this framework or higher.
dotnet add package Vintasoft.WiaImageScanning --version 15.3.9.1
NuGet\Install-Package Vintasoft.WiaImageScanning -Version 15.3.9.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vintasoft.WiaImageScanning" Version="15.3.9.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vintasoft.WiaImageScanning" Version="15.3.9.1" />
<PackageReference Include="Vintasoft.WiaImageScanning" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vintasoft.WiaImageScanning --version 15.3.9.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vintasoft.WiaImageScanning, 15.3.9.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Vintasoft.WiaImageScanning@15.3.9.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Vintasoft.WiaImageScanning&version=15.3.9.1
#tool nuget:?package=Vintasoft.WiaImageScanning&version=15.3.9.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Vintasoft.WiaImageScanning.dll is the assembly from VintaSoft Twain .NET SDK and it contains classes, which allow to work with WIA image scanner in .NET application for Windows.
GENERAL FEATURES
- TWAIN .NET API, WIA .NET API, SANE .NET API, eSCL .NET API for .NET developer
- TWAIN/WIA/SANE/eSCL JavaScript API for Web developer
- Acquire documents from TWAIN, WIA, SANE or eSCL image scanner in .NET application for Windows and Linux
- Acquire images from TWAIN, WIA, SANE or eSCL image scanner in any modern web browser (Chrome, Firefox, Edge, Opera)
- Control an image scanner, which is compatible with TWAIN specification 1.x, in Windows
- Control an image scanner, which is compatible with TWAIN specification 2.x, in Windows and Linux
- Control image scanner, which is compatible with WIA API, in Windows
- Control an image scanner, which is compatible with SANE API, in Linux
- Control an image scanner, which is compatible with eSCL API, in Windows and Linux
- Enumerate and select a TWAIN/WIA/SANE/eSCL image scanner
- Acquire images from TWAIN image scanner
- Acquire images from WIA image scanner
- Acquire images from SANE image scanner
- Acquire images from eSCL image scanner
- Preprocess scanned images
- Save scanned images to a file or database
- Upload scanned images to HTTP, HTTPS or FTP server
DEVELOPMENT REQUIREMENTS:
- Development environments: Microsoft Visual Studio, Microsoft Studio Code, JetBrains Rider, .NET CLI
- Programming languages: C#, F#, VB.NET, any .NET compatible language
- Development platforms: .NET, WPF, WinForms, ASP.NET
DEPLOYMENT REQUIREMENTS:
- Windows (Windows 11/10/8.1/8/7; Windows Server 2025/2022/2019/2016/2012/2008; 32-bit and 64-bit) with .NET 10, .NET 9, .NET 8, .NET 7, .NET 6
- Windows (Windows 11/10/8.1/8/7/Vista/XP; Windows Server 2025/2022/2019/2016/2012/2008/2003; 32-bit and 64-bit) with .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5
- Linux (Ubuntu 24/23/22/20/18; Debian 12/11/10; Fedora 40/39/38/37/36; OpenSUSE 15; CentOS 9/8/7; Redhate Enterprise Linux 9/8/7; Alpine 3) with .NET 10, .NET 9, .NET 8, .NET 7, .NET 6
ACQUIRE IMAGES FROM TWAIN/WIA/SANE/ESCL IMAGE SCANNER ONLINE
You can test TWAIN image scanning in:
- online VintaSoft JavaScript TWAIN Scanning Demo: https://demos.vintasoft.com/JavaScriptTwainScanningDemo/
- online VintaSoft ASP.NET Core TWAIN Scanning Demo: https://demos.vintasoft.com/AspNetCoreTwainScanningDemo/
- online VintaSoft ASP.NET Core TWAIN Scanning Advanced Demo: https://demos.vintasoft.com/AspNetCoreTwainScanningAdvancedDemo/
SYNCHRONOUSLY ACQUIRE IMAGES FROM WIA IMAGE SCANNER IN C#
/// <summary>
/// Synchronously acquire images from WIA image scanner.
/// </summary>
public void SynchronouslyAcquireImagesFromWiaDevice()
{
// create WIA device manager
using (Vintasoft.WiaImageScanning.WiaDeviceManager deviceManager = new Vintasoft.WiaImageScanning.WiaDeviceManager())
{
// open WIA device manager
deviceManager.Open();
// get count of WIA devices
int deviceCount = deviceManager.Devices.Count;
if (deviceCount == 0)
{
System.Console.WriteLine("Devices are not found.");
return;
}
// select the first WIA device
Vintasoft.WiaImageScanning.WiaDevice device = deviceManager.Devices[0];
// open WIA device
device.Open();
int imageIndex = 0;
Vintasoft.WiaImageScanning.WiaAcquiredImage acquiredImage = null;
do
{
try
{
// acquire image from WIA device
acquiredImage = device.AcquireImageSync();
// if image is received
if (acquiredImage != null)
{
imageIndex++;
string filename = string.Format("scannedImage-{0}.png", imageIndex);
if (System.IO.File.Exists(filename))
System.IO.File.Delete(filename);
acquiredImage.Save(filename);
System.Console.WriteLine(string.Format("Acquired image is saved to a file '{0}'.", filename));
}
// if image is not received
else
{
System.Console.WriteLine("Scan is completed.");
break;
}
}
catch (System.Exception ex)
{
System.Console.WriteLine(string.Format("Scan is failed: {0}", ex.Message));
break;
}
}
// while image is acquired
while (acquiredImage != null);
// close WIA device
device.Close();
// close WIA device manager
deviceManager.Close();
}
System.Console.ReadLine();
}
ONLINE RESOURCES
- Product web page: https://www.vintasoft.com/vstwain-dotnet-index.html
- FAQ: https://www.vintasoft.com/vstwain-dotnet-faq.html
- User Guide and API Reference for .NET developer: https://www.vintasoft.com/docs/vstwain-dotnet/
- User Guide and API Reference for Web developer: https://www.vintasoft.com/docs/vstwain-dotnet-web/
- Code Examples: https://www.vintasoft.com/vstwain-dotnet-examples.html
LICENSE
VintaSoft Twain .NET SDK is a commercially licensed product.
- Get the evaluation license: https://myaccount.vintasoft.com/user/getEvaluationLicense
- Purchase a License: https://www.vintasoft.com/register.html
Getting Help & Support
Have a question or running into an issue? Contact VintaSoft Support or Sales: https://www.vintasoft.com/support.html
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- Vintasoft.Shared (= 4.6.1.1)
-
net10.0
- Vintasoft.Shared (= 4.6.1.1)
-
net8.0
- Vintasoft.Shared (= 4.6.1.1)
-
net9.0
- Vintasoft.Shared (= 4.6.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.