Namespace NAPS2.Images
Classes
- Barcode
A wrapper around the ZXing library that detects patch-t and other barcodes. http://www.alliancegroup.co.uk/patch-codes.htm
- ImageMetadata
Represents additional information about a scanned image (quality, page size).
- PageSize
Represents a page size, e.g. US Letter (8.5 x 11 in) or A4 (210 x 297 mm).
- PostProcessingData
Represents information about an image obtained during post-processing (e.g. thumbnail image, barcode).
- ProcessedImage
An image that has gone through the scanning (or importing) process. It has metadata about the image, possibly additional post-processing data from the scan, and may have transformations that have been applied during or after the scan.
This type is immutable and uses a reference counting model for the underlying image storage. You can create a new reference with Clone() that will need to be disposed, and the underlying image storage will only be disposed once all related instances are disposed (or the parent ScanningContext is disposed).
- ProcessedImage.WeakReference
A class functionally equivalent to a ProcessedImage reference, but that makes explicit the intention not to have ownership over or prevent disposal of the image.
- ThumbnailRenderer
Renders a ProcessedImage to a thumbnail of a given size.
Structs
Interfaces
- IImageStorage
Base type for image storage, which can be a normal in-memory image or an image stored on the filesystem.
- IMemoryImage
A common interface to wrap around platform-specific implementations of an in-memory image (e.g. System.Drawing.Bitmap for Windows Forms).