ImageScannerFormat
ImageScannerFormat
ImageScannerFormat
ImageScannerFormat
Enum
Definition
The type of files to scan to.
public : enum class ImageScannerFormatpublic enum ImageScannerFormatPublic Enum ImageScannerFormat// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Devices.Scanners.ScannerDeviceContract (introduced v1)
|
Fields
| DeviceIndependentBitmap DeviceIndependentBitmap DeviceIndependentBitmap DeviceIndependentBitmap | 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 | 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 | 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 | 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 | 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 | 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 | 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.
- Jpeg
- Png
- Bitmap