VintaSoft Twain .NET SDK Discussions

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Add images to internal buffer?



Add images to internal buffer?

Post by OlafRappe »

Hello,

it is great that we now have the possibility do swap images in the internal buffer. What we also need now would be a possibility to add images to the internal buffer so that we can exchange 'bad' scans by subsequent scans doing a rescan of the bad page (repeatly using the Aquire Method) and using the Deleteimage and Swapimages methods to reoder the pages. So we could save the internal buffer to a multipage pdf file and have the pages still in the right order. I did not find a way of doing that because each subsequent call of the Aquire method deletes/clears the internal buffer.

Is there any way I overlooked or - if not - could it be possible to implement a Aquire method which does not clear the internal buffer ?

Best Regards

Olaf Rappe


Re: Add images to internal buffer?

Post by Alex »

Hello Olaf,

Please read the description of the MaxImages property in the documentation - this property allows to set the size of internal images buffer.

Best regards, Alexander


Re: Add images to internal buffer?

Post by OlafRappe »

Thank you, Alexander,

this is exactly what I was looking for. It works as expected.

Best Regards

Olaf Rappe


Re: Add images to internal buffer?

Post by romanovma »

Hi, Alex.

As I understood the maximum number of pages in buffer is 200.
Is it possible to extend this number to 1000?

Thanks,
Michael.


Re: Add images to internal buffer?

Post by Alex »

Hello Michael,

Why you need so big buffer?

Best regards, Alexander


Re: Add images to internal buffer?

Post by romanovma »

This is the direct customer request.
Users often scan big documents (more than 200 pages) and prefer to put them in one file.
Do you have any solution for this?

Thanks,
Michael.


Re: Add images to internal buffer?

Post by Alex »

VintaSoftTwain.NET Library allows to add images to existing TIFF file or PDF document. I think the best way is
to use this functionality.
Are you sure that you will not have "Out of memory" exception if you store 1000 A4 images in the buffer?

Best regards, Alexander


Re: Add images to internal buffer?

Post by romanovma »

VintaSoftTwain.NET Library allows to add images to existing TIFF file Thank you. Seems like it will solve my problem.
Are you sure that you will not have "Out of memory" exception if you store 1000 A4 images in the buffer? I'm not sure even with 200 ;)

Best regards,
Michel.


Re: Add images to internal buffer?

Post by Cabim7 »

Hello,
our users need to scan documents and save them as PDF multipage. However, in some situation, they need to temporary save scanned documents (for example as jpeg images) to be retrieved in the following days, then do some image adjustment (using the despeckle, deskew and rotation features) and save images as PDF multipage.

Do you have any solution for this?

We think that we could solve our problem having the possibility to add images to the internal buffer of VSTwain object.

Best Regards,
Carl.


Re: Add images to internal buffer?

Post by Alex »

Hello Carl,

You can use VintaSoftImaging.NET Library if you want to process images.

Best regards, Alexander


Page 1 from 1: 1