This property sets the compression method used when an image is transferred via memory.

[Visual Basic] Public Property Compression As Newtone.ImageKit.WPF.ScanCompression
[C#] public Newtone.ImageKit.WPF.ScanCompression Compression {get; set;}

Property Value

This value is of type ScanCompression

Explanation

The Compression property sets the compression method used when an image is transferred via memory. When scanning with a custom user interface (with the scan driver's user interface suppressed), be sure to set appropriate values in the PixelType and the BitDepth properties. For example, Tiff group 3 or 4 compression images must be 1 bit black and white; JPEG compression images must be either 8 bit grayscale or 24 bit color.

For details about the different methods for transferring images, please refer to the Transfer property. The possible setting values supported by a scan device can be retrieved using the GetCapabilityEnumToSingle method. Depending on the datasource, uncompressed may be the only file transfer compression method available.

See Also

Scan Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation