ImageScannerFormat ImageScannerFormat ImageScannerFormat ImageScannerFormat ImageScannerFormat Enum

Definition

The type of files to scan to.

public : enum class ImageScannerFormat
enum class winrt::Windows::Devices::Scanners::ImageScannerFormat : int32_t
public enum ImageScannerFormat
Public Enum ImageScannerFormat
var value = Windows.Devices.Scanners.ImageScannerFormat.deviceIndependentBitmap;
Attributes

Windows 10 requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Devices.Scanners.ScannerDeviceContract (introduced v1)

Fields

DeviceIndependentBitmap DeviceIndependentBitmap DeviceIndependentBitmap DeviceIndependentBitmap 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 Jpeg Jpeg Jpeg 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 OpenXps OpenXps OpenXps 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 Pdf Pdf Pdf 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 Png Png Png Png 1

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

Tiff Tiff Tiff Tiff 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 Xps Xps Xps 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