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

buffered memory transfer

Forums › TWAIN Classic › buffered memory transfer

  • This topic has 0 replies, 1 voice, and was last updated 13 years, 9 months ago by TheCrow99.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • July 18, 2007 at 6:48 am #22177 Reply
    TheCrow99
    Participant
    • Topics - 6
    • Replies - 54
    • Total Posts - 60

    can anybody explain to me way there is a +31 and a /32 in this calculation

    size = (((((TW_INT32)info.ImageWidth*info.BitsPerPixel+31)/32)*4)
    * info.ImageLength);

    info. …. was received after DG_IMAGE|DAT_IMAGEINFO|MSG_GET

    the only comment is:
    /* Limited to 256 colors in Palette*/

  • Author
    Posts
Viewing 1 post (of 1 total)
Reply To: buffered memory transfer
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

  • 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

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.