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

[CAPABILITES][ICAP_GAMMA] Set float value for ICAP_GAMMA

Forums › TWAIN Classic › [CAPABILITES][ICAP_GAMMA] Set float value for ICAP_GAMMA

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 7 months ago by willzith.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 13, 2011 at 1:54 am #22685 Reply
    willzith
    Participant
    • Topics - 4
    • Replies - 2
    • Total Posts - 6

    I’m doing a project relative to TWAIN Spec in C#

    I have a class TwCapability like struct TW_CAPABILITY

    It’s OK when I set value (-1000 -> 1000) for ICAP_BRIGHTNESS or ICAP_CONTRAST

    But I want to set value for ICAP_GAMMA with float value (for ex. 0.2f) like TWAIN’s toolkit Twack_32 does!

    Btw: Return code when I set value 0.2f for ICAP_GAMMA is TWRC_SUCCESS, but nothing happend with my output image! 🙁

    Please help me set float value for ICAP_GAMMA!

    May 31, 2011 at 10:57 am #25448 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    are you using NetMaster’s (codeproject) C# sample as the base for your code?

    June 3, 2011 at 6:58 am #25449 Reply
    willzith
    Participant
    • Topics - 4
    • Replies - 2
    • Total Posts - 6

    Thanks, I solved my problem with http://www.twainforum.org/viewtopic.php?t=4222

    But I have another problem 🙂 http://www.twainforum.org/viewtopic.php?t=4300

    Please help!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [CAPABILITES][ICAP_GAMMA] Set float value for ICAP_GAMMA
Your information:




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

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.