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

What is best way to get Compressed image

Forums › TWAIN Classic › What is best way to get Compressed image

  • This topic has 2 replies, 3 voices, and was last updated 7 years ago by Foximage.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 2, 2013 at 1:27 pm #22862 Reply
    YogaV
    Participant
    • Topics - 5
    • Replies - 4
    • Total Posts - 9

    Currently I am getting the scanned image data in memory transferred mode in bmp format. Is this possible to get the compressed image data from scanner using twain? If yes please let me know the standard procedure to follow.

    Thanks,
    Yoga V

    July 2, 2013 at 6:41 pm #25930 Reply
    MarkM
    Participant
    • Topics - 1
    • Replies - 135
    • Total Posts - 136

    Set ICAP_XFERMECH to TWSX_MEMORY, and transfer the images using DG_IMAGE / DAT_IMAGEMEMXFER / MSG_GET…

    Alternatively, if the TWAIN driver supports it, you can set ICA_XFERMECH to TWSX_FILE and use DG_CONTROL / DAT_SETUPFILEXFER / MSG_SET and DG_IMAGE / DAT_IMAGEFILEXFER / MSG_GET to get a file on disk, but as said, not all drivers support this option…

    January 24, 2014 at 2:04 am #25931 Reply
    Foximage
    Participant
    • Topics - 0
    • Replies - 13
    • Total Posts - 13

    I think it is yes. It is possibale to get the compressed image data from scanner using twain, because a TWAIN application can detect & define image compression modes, frame sizes, resolutions. Besides, the compressed image’s data can be saved to image or document file if the TWAIN tool supports further scanned data processing and reading.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: What is best way to get Compressed image
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.