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: Bit Depth and Pixel Type Container Types

Forums › TWAIN Classic › Bit Depth and Pixel Type Container Types › Reply To: Bit Depth and Pixel Type Container Types

June 29, 2007 at 9:17 pm #23867
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

ah, right then. if i were interested the setting that was used during the transfer I would check the tw_ImageInfo structure – tw_ImageInfo.BitsPerPixel and tw_ImageInfo.PixelType.

If I were somehow unable to get the tw_imageInfo, I would feel pretty confident that I only needed to check for a oneValue, there is *some* chance that you’ll get an enum but I’m thinking if you ask for a oneVal you’ll be ok. I’d be more concerned with (the slim chance that) the approach fails to provide the right info do to the source reseting values after the scan is complete to some default that wasn’t used during the transfer – it’s not likely but it *could* happen,

If it were me, I’d check the tw_ImageInfo. Some devices might also give useful bits in twei_*.

.

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

  • TWAIN for dental imaging integration
  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • 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