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: Customizing the zooming capability

Forums › TWAIN Classic › Customizing the zooming capability › Reply To: Customizing the zooming capability

September 27, 2007 at 11:13 am #24150
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

If you change the size of the dataType I’d say you need to define a customCap, but doesn’t this depend on your interpetation of Icap_ZoomFactor == 1, and on your presicion requirements?

When I initially read your question I think this sounds like a good place for a customCap, but if you could be happy with the range and presicion of a 16bit floating point value then maybe you don’t need a custom cap.

It doesn’t seem to me that the spec defines what setting icap_zoomfactor to 1 means (or 65535 for that matter).
Depending on the precision you’re targeting you *might* be able to defend the argument that you choose to interpret tw_int16 as (internally) Fix16.

It may make your value(s) look odd and may not get you invited to next twain develops luau, but as long as you limit yourself to just using the 16 bits of tw_int16, your interpretation of the value is pretty much up to you.

That said, I don’t think implementing icap_zoomFactor’s tw_int16 as a Fix16 is very intuitive but then again this is twain so …

.

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