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: 8-Bit image, memory transfer, algorithm problem

Forums › TWAIN Classic › 8-Bit image, memory transfer, algorithm problem › Reply To: 8-Bit image, memory transfer, algorithm problem

January 19, 2010 at 2:11 pm #25111
Thierry
Participant
  • Topics - 6
  • Replies - 54
  • Total Posts - 60

In memory transfer you need to anticipate the real size of your buffer based on columns*rows with the correct size in bytes for each row (depends on columns, bits per pixels, and alignment per row). Generally you should have a function in your code to handle mis-aligned rows in memory (I code in C++ so I can’t help you a lot in how to do that in Java).

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