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

April 1, 2010 at 7:19 pm #25117
mcohen
Participant
  • Topics - 2
  • Replies - 13
  • Total Posts - 15

Billie

I have a couple of questions. In calling the “DG_IMAGE, DAT_IMAGEMEMXFER, MSG_GET” tripplet, while I managed to get valid data, am having problems putting it together. The “TW_IMAGEMEMXFER” structure returns a value of “278” for compression. Beats me..! I don’t believe that value corresponds to any of the values from Twain:

TWCP_NONE = 0
TWCP_PACKBITS = 1
TWCP_GROUP31D = 2
TWCP_GROUP31DEOL = 3
TWCP_GROUP32D = 4
TWCP_GROUP4 = 5
TWCP_JPEG = 6
TWCP_LZW = 7
TWCP_JBIG = 8
TWCP_PNG = 9
TWCP_RLE4 = 10
TWCP_RLE8 = 11
TWCP_BITFIELDS = 12

Is it wise to retrieve the image in compressed format? Wouldn’t that complicate the process of compiling the Tiles/Strips into meaningful bitmaps?

Do you happen to have an example of how to request accepted compression values from the source using capability negotiation?

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