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: BitDepth Set for B/W (C#)

Forums › TWAIN Classic › BitDepth Set for B/W (C#) › Reply To: BitDepth Set for B/W (C#)

July 31, 2008 at 10:03 pm #24595
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

I’d try setting those caps in reverse order, mostly because https://www.twain.org/docs/CapOrderForWeb.PDF says that ICAP_BITDEPTH comes before ICAP_XRESOLUTION & ICAP_YRESOLUTION

Then I’d run the Get triplet after all of my Set triplets to check that the device accepted my Sets (it’s odd but it’s twain)

Then I’d check the twImageInfo while the image was coming down.

If none of that worked I’d test my code against a known device – like a Kodak i30 in simulation mode.

Failing that… yeah I dunno, if none of that works post back.

EDITED: and i’d test this in the twain toolkit to see if the toolkit reproduced my problem, because if the toolkit reproduces your problem it’s more likely a problem with the driver. And with HP devices I would look for the ‘commercial’ or ‘minimal’ driver on the Cd – it isn’t the default and it works better.

.

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

  • Girls of Desire: All babes in one place, crazy, art
  • 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.
  • 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