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

Save images to multi tiff

Forums › TWAIN Classic › Save images to multi tiff

  • This topic has 8 replies, 8 voices, and was last updated 7 years, 5 months ago by Nana111.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • February 22, 2012 at 7:01 pm #22733 Reply
    sunshine_ak
    Participant
    • Topics - 7
    • Replies - 4
    • Total Posts - 11

    Hello,

    I’ve been searching for the solution to my problem, but didn’t find anything.

    I have scanner, which can save image to multi tiff file. After it makes a scan, the file is just overwritten. I thought that, if file exists, it append another page to .tiff file. I saved two page to tiff only once, but that was by accident and I don’t know how did it happen.

    Is there any example for that kind of file?

    Thanks in advance,
    Aga

    February 23, 2012 at 5:57 pm #25543 Reply
    peterp
    Participant
    • Topics - 0
    • Replies - 30
    • Total Posts - 30

    You don’t mention if you are trying to write an app to do this, or if you are just using a standard driver from windows, but you want to look for a checkbox that says ‘multi-page’ or possibly look for a different file format in a drop down menu called ‘multi page tiff’

    If you are writing your own app, then you want to see if the scanners TWAIN driver returns TWFF_TIFFMULTI as one of the choices in response to an ICAP_IMAGEFILEFORMAT request. If it does, then you can set TWFF_TIFFMULTI to get multi page TIFF files.

    February 23, 2012 at 9:30 pm #25544 Reply
    sunshine_ak
    Participant
    • Topics - 7
    • Replies - 4
    • Total Posts - 11

    Ok, I’m sorry I didn’t write precisely.

    I have Epson DS-30 and I’m writting my own app to operate it. In state 4 I’m checking what file formats are supported and TWFF_TIFFMULTI is one of them. I set capability ICAP_XFERMECH to TWSX_FILE and ICAP_IMAGEFILEFORMAT to TWFF_TIFFMULTI. Number of pages (CAP_XFERCOUNT) is set to -1. After message XFERREADY I’m setting structure TW_SETUPFILEXFER with proper path and file format. Then I’m using of course DG_IMAGE / DAT_IMAGEFILEXFER / MSG_GET. While scanning a few times to the same path, the file is overwritten. Tiff file has only one page. The same happend with various compression types.

    May 3, 2013 at 2:34 am #25545 Reply
    Wallism
    Participant
    • Topics - 0
    • Replies - 8
    • Total Posts - 8

    @sunshine_ak wrote:

    Ok, I’m sorry I didn’t write precisely.

    I have Epson DS-30 and I’m writting my own app to operate it. In state 4 I’m checking what file formats are supported and TWFF_TIFFMULTI is one of them. I set capability ICAP_XFERMECH to TWSX_FILE and ICAP_IMAGEFILEFORMAT to TWFF_TIFFMULTI. Number of pages (CAP_XFERCOUNT) is set to -1. After message XFERREADY I’m setting structure TW_SETUPFILEXFER with proper path and file format. Then I’m using of course DG_IMAGE / DAT_IMAGEFILEXFER / MSG_GET. While scanning a few times to the same path, the file is overwritten. Tiff file has only one page. The same happend with various compression types.

    To creat an app that with feature of Multi-page TIFF processing,such as save ,resize, convert,compress ,library of TIFF procrssing may give you a hand.

    May 3, 2013 at 6:55 am #25546 Reply
    Catherine Sea
    Participant
    • Topics - 0
    • Replies - 59
    • Total Posts - 59

    You can paste the related code you are using here and see if we can help.

    An easier way is to use a TWAIN SDK for document scanning, editing and save/upload. Are you writing a desktop or web app?

    July 24, 2013 at 4:07 am #25547 Reply
    carolinenew
    Participant
    • Topics - 0
    • Replies - 3
    • Total Posts - 3

    @Wallism wrote:

    To creat an app that with feature of Multi-page TIFF processing,such as save ,resize, convert,compress ,library of TIFF procrssing may give you a hand.

    thank you, i have seen your codes up here. i think it helps me a lot. thank you for sharing.

    August 1, 2013 at 4:07 am #25548 Reply
    danny rough
    Participant
    • Topics - 0
    • Replies - 8
    • Total Posts - 8

    I use a tiff spliter driver found on the internet . Install it and it becomes a selectable option.Then you can split mutipage tiff into single ones in many formats in any program at all, including Adobe Acrobat . Just open the sdk, select tiff , and choice split, then you can split pdf in c#, vb, asp ,etc ,the task will be finished in several seconds. then you can save images to multi tiff. as for scanner , you can try this tiff scanner which can be allpied in vb, c#,etc. besides , it can be freely used for trial for 30 days, just have a check! if you haven´t found a good choice , you can have a try. best wishes

    November 6, 2013 at 6:38 am #25549 Reply
    peterlee
    Participant
    • Topics - 0
    • Replies - 24
    • Total Posts - 24

    @danny rough wrote:

    I use a tiff spliter driver found on the internet . Install it and it becomes a selectable option.Then you can split mutipage tiff into single ones in many formats in any program at all, including Adobe Acrobat . Just open the sdk, select tiff , and choice split, then you can split pdf in c#, vb, asp ,etc ,the task will be finished in several seconds. then you can save images to multi tiff. as for scanner , you can try this tiff scanner which can be allpied in vb, c#,etc. besides , it can be freely used for trial for 30 days, just have a check! if you haven´t found a good choice , you can have a try. best wishes

    Thanks for your nice info. I wonder whether the tool you mentioned above can be customized by users according to our own favors. I want to select a manual one to help me read the saved Tiff files. Thanks in advance.

    Best regards,
    Peter

    November 14, 2013 at 7:14 am #25550 Reply
    Nana111
    Participant
    • Topics - 0
    • Replies - 2
    • Total Posts - 2

    @danny rough wrote:

    I use a tiff spliter driver found on the internet . Install it and it becomes a selectable option.Then you can split mutipage tiff into single ones in many formats in any program at all, including Adobe Acrobat . Just open the sdk, select tiff , and choice split, then you can split pdf in c#, vb, asp ,etc ,the task will be finished in several seconds. then you can save images to multi tiff. as for scanner , you can try this tiff scannerwhich can be allpied in vb, c#,etc. besides , it can be freely used for trial for 30 days, just have a check! if you haven´t found a good choice , you can have a try. best wishes

    Hi there
    Thanks for your sharing.It helps me a lot.BTW.if it is possible to process the tiff files offline?
    Thanks for any suggestion.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Save images to multi tiff
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.