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

Re: Re: ICAP_BITDEPTH with TWPT_RGB problem

Forums › TWAIN Classic › ICAP_BITDEPTH with TWPT_RGB problem › Re: Re: ICAP_BITDEPTH with TWPT_RGB problem

August 12, 2009 at 1:19 am #25000
june5
Participant
  • Topics - 0
  • Replies - 17
  • Total Posts - 17

@soakaye wrote:

I am troubled by processing of ICAP_BITDEPTH of TWPT_RGB.

Which is righter between ICAP_BITDEPTH=24 and ICAP_BITDEPTH=8 in TWPT_RGB (24bit Color)?

TWAIN V1.9/V2.0 specification ICAP_BITDEPTH part

” This depth applies to all the data channels. (for instance, the R, G, and and B channels will all have this same bit depth for RGB data)”

Some drivers are mounted by TWPT_RGB(24bit Color) is ICAP_BITDEPTH=8.
However, with Sample DS, TWPT_RGB is ICAP_BITDEPTH=24.

Are which right as for this?

TWAIN specification says in Chapter 4 – The Image Data and Its Layout – Changing the Image Attributes

BitsPerSample … Calculated by BitsPerPixel divided by SamplesPerPixel
BitsPerPixel … ICAP_BITDEPTH

So I think ICAP_BITDEPTH should be 24.

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