1 / 26

Building Windows apps that use image scanners

Building Windows apps that use image scanners. Monica Czarny Windows Program Manager 3-025. What we will cover today. Why incorporate scanning in your app? Your app + scanner device compatibility Simplicity of the new Scanner namespace Demo: scanning from an app Scan API code snippets.

samara
Download Presentation

Building Windows apps that use image scanners

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building Windows apps that use image scanners Monica Czarny Windows Program Manager 3-025

  2. What we will cover today • Why incorporate scanning in your app? • Your app + scanner device compatibility • Simplicity of the new Scanner namespace • Demo: scanning from an app • Scan API code snippets

  3. archive  share 📎 modify ✎ Digital world extract  • Users want experiences, information, intelligence

  4. Digital world • Things in the physical world are being left behind  checks 📃legal contracts  store receipts  photos  medical records

  5. There are more scanners out there than you may think 66%of printers connected to Windows are also scanners

  6. Why is content left behind? JPEG, OXPS , Windows 8.1

  7. Scan Runtime APIs built on top of WIA means that you can use any Windows logoed scanner Scan Runtime APIs Windows 8.1 Store app Windows 8.1 Store app Windows Imaging Acquisition (WIA) platform • New Scan Runtime APIs are compatible with certified WIA 2.0 drivers WIA API (COM) These APIs can be used to scan from Windows Store and from Desktop apps Windows Store apps Desktop apps Hardware scanner devices (Stand-alone or MFP)

  8. Windowshas you covered • Windows 8.1 supports the vast majority of scanners • available in the ecosystem today  • More than 500 USB scanners are supported inbox with many more on Windows Update • All WS-Scan network scanners are supported by a class driver    🔐🔒💾 • WIA 2.0/WS-Scan support is required for Windows logoed scanners (since 2006) • Windows 8.1 supports more than 500 scanners inbox • Windows Update only provides WIA 2.0 drivers

  9. Optional: Set scan settings 1 Enumerate scanners 2 Get scanner object How to enable scanning 3 Scan Optional: Preview

  10. Windows.Devices.Scanners Object ImageScanner

  11. Windows.Devices.Scanners Object Configuration Auto-configured Flatbed Feeder ImageScanner Auto-configured Flatbed Feeder

  12. Windows.Devices.Scanners Object Configuration Property Auto-configured Flatbed Feeder Format ImageScanner

  13. Windows.Devices.Scanners Object Configuration Property Auto-configured Flatbed Feeder Format Resolution Color mode Brightness Contrast Scan area ImageScanner

  14. Windows.Devices.Scanners Object Configuration Property Auto-configured Flatbed Feeder Format Resolution Color mode Brightness Contrast Scan area Page orientation Duplex ImageScanner

  15. Demos • Enumerate all connected scanners • Scan from auto-configured, flatbed, feeder scan sources • Override scan settings (scan area, resolution, format…) • Handle scan progress

  16. 1 Enumerate scanners 1 CreateWatcher(DeviceClass.ImageScanner) to enumerate using a DeviceWatcher (Windows.Devices.Enumeration) 2 Get scanner object 2 FromIdAsync(deviceId) for scanner ImageScannerobject Optional: Set scan settings How we enabled scanning Format, Resolution, Duplex… to set scan settings (per scan source) Optional: Preview ScanPreviewToStreamAsync() to scan file to stream 3 Scan 3 ScanFilesToFolderAsync() to scan file to folder

  17. 

  18.                    

  19.                     📎 👤share 👤 archive 👤 modify 👤 extract attachment protection improvement intelligence 🛅 ✎  ✎

  20. The new Scan Runtime APIs make it easy to capture physical documents and images digitallyin a way that makes sense for your app

  21. What are you going to ld/?

  22. Resources • MSDN resources • API documentation • Search for “Windows.Devices.Scanners” • Scan Runtime API Samples • Auto-Configured scan feature • http://msdn.microsoft.com/en-us/library/windows/hardware/ff539393(v=vs.85).aspx • Contact us through WIAinfo@Microsoft.com • Ask us WIA driver or API questions

  23. Required Slide *delete this box when your slide is finalized Your MS Tag will be inserted here during the final scrub. Evaluate this session • Scan this QR codeto evaluate this session and be automatically entered in a drawing to win a prize!

More Related