Table of Contents

Class ImageImporter

Namespace
NAPS2.ImportExport
Assembly
NAPS2.Sdk.dll

Imports image files.

public class ImageImporter
Inheritance
ImageImporter
Inherited Members

Constructors

ImageImporter(ScanningContext)

public ImageImporter(ScanningContext scanningContext)

Parameters

scanningContext ScanningContext

Methods

Import(Stream, ImportParams?, ProgressHandler)

public IAsyncEnumerable<ProcessedImage> Import(Stream stream, ImportParams? importParams = null, ProgressHandler progress = default)

Parameters

stream Stream
importParams ImportParams
progress ProgressHandler

Returns

IAsyncEnumerable<ProcessedImage>

Import(string, ImportParams?, ProgressHandler)

public IAsyncEnumerable<ProcessedImage> Import(string filePath, ImportParams? importParams = null, ProgressHandler progress = default)

Parameters

filePath string
importParams ImportParams
progress ProgressHandler

Returns

IAsyncEnumerable<ProcessedImage>