Share via


ImageScannerFormat Enum

Definition

The type of files to scan to.

public enum class ImageScannerFormat
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Scanners.ScannerDeviceContract, 65536)]
enum class ImageScannerFormat
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Scanners.ScannerDeviceContract), 65536)]
public enum ImageScannerFormat
var value = Windows.Devices.Scanners.ImageScannerFormat.jpeg
Public Enum ImageScannerFormat
Inheritance
ImageScannerFormat
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Devices.Scanners.ScannerDeviceContract (introduced in v1.0)

Fields

DeviceIndependentBitmap 2

Windows Device Independent Bitmap (DIB) This value supports any color mode, with single page and uncompressed. This is the only format that is supported by all compatible WIA 2.0 scanner devices.

Jpeg 0

Exchangeable image file format/EXIF or JPEG file interchange format/JFIF Use these files only in color or grayscale modes (8 bits per channel/sample), with single page and compressed (lossy JPEG compression).

OpenXps 5

Open XML Paper Specification (OpenXPS) document file format These files can contain image data in any color mode supported by this API, compressed at the choice of the device, either single or multi-page.

Pdf 6

Portable Document Format PDF/A (PDF/A is an ISO-standardized version of the Portable Document Format/PDF specialized for the digital preservation of electronic documents) document file format These files can contain image data in any color mode supported by this API, compressed at the choice of the device, either single or multi-page.

Png 1

Portable Network Graphics (PNG) image file format This value supports any color mode, with single page and compressed (loseless PNG compression).

Tiff 3

Uncompressed Tagged Image File Format (TIFF) compatible with the TIFF 6.0 specification, either single and/or multi-page These files can be in any color mode supported by this API, always uncompressed and either single page (if only one image has to be transferred) or multi-page (if multiple images have to be transferred and the device supports this multi-page file format).

Xps 4

Microsoft XML Paper Specification (XPS) document file format These files can contain image data in any color mode supported by this API, compressed at the choice of the device, either single or multi-page.

Remarks

All WIA scanner devices support the Windows Device Independent Bitmap (DIB) format. By default, these values in this order will be selected based on the file formats the device supports.

    1. Jpeg
    1. Png
    1. Bitmap

Applies to