TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Reply To: A question about image resolution

Forums › TWAIN Classic › A question about image resolution › Reply To: A question about image resolution

February 10, 2009 at 3:55 pm #24803
jimwatters
Participant
  • Topics - 2
  • Replies - 72
  • Total Posts - 74

Yes the proper method to get resolution is with DG_IMAGE / DAT_IMAGEINFO / MSG_GET operation triplet.

This triplet should always be used to determine what kind image image data is returned prior to every transfer.

Requesting the scanner for a pixel type, bit depth, or a resolution, is only a request. It is not guaranteed that is what you will get. Some scanners offer an automatic color detection. They might return jpeg compressed data for color images and G4 compressed data for b&W pages. (But no TWAIN driver should return compressed data unless requested by the application)

Yes it would be a bug with this TWAIN driver if the DIB does not contain the correct resolution.

Regards,
Jim Watters

**************************************************
JFL Peripheral Solutions Inc.
http://www.jflinc.com/
Your Expert Source of Custom Software and Services
for TWAIN Applications, Data Sources,
Peripheral Drivers and Support Software.
**************************************************

Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • To get the list of scanners from javascript client side (browser)
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in