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`s the difference between TWSX_FILE and TWSX_NATIVE

Forums › TWAIN Classic › What`s the difference between TWSX_FILE and TWSX_NATIVE

  • This topic has 4 replies, 3 voices, and was last updated 12 years, 8 months ago by HAODAFENG.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 18, 2008 at 3:20 am #22303 Reply
    vingo
    Participant
    • Topics - 3
    • Replies - 1
    • Total Posts - 4

    I`m fishee of TWAIN and now at a loss how to use TWSX_FILE and TWSX_NATIVE.

    Is there anyone can explain these two?

    Thanks a lot.

    March 18, 2008 at 8:18 am #24419 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    native transfers to memory (a DIB), file transfers to disk

    .

    May 8, 2008 at 12:56 pm #24420 Reply
    HAODAFENG
    Participant
    • Topics - 1
    • Replies - 3
    • Total Posts - 4

    but at last we will save the file in de disk,what is the diffients of them?
    i do not understande too

    May 8, 2008 at 1:18 pm #24421 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    one function returns you pointer to a Dib, the other returns you a filename.

    And it doesn’t seem to me that saving to disk is _always_ the case. It seems entirely likely that there are situations where you only need to view the image, not save it to disk. Then it seems that there may also be cases when you want to manipulate the image before you save it to disk – just use the appropriate function for your case.

    .

    May 9, 2008 at 1:10 pm #24422 Reply
    HAODAFENG
    Participant
    • Topics - 1
    • Replies - 3
    • Total Posts - 4

    i am new in twain,i want to know if i use TWSX_NATIVE ,how can i save the
    image in to disk?is it when i get the message TWRC_XFERDONE,and then save the image? thank you for your answer

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: What`s the difference between TWSX_FILE and TWSX_NATIVE
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

  • Girls of Desire: All babes in one place, crazy, art
  • 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.
  • 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.