Add images to internal buffer?

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

Moderator: Alex

Post Reply
OlafRappe
Posts: 2
Joined: Tue Sep 08, 2009 11:39 am

Add images to internal buffer?

Post by OlafRappe » Tue Sep 08, 2009 12:01 pm

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

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Add images to internal buffer?

Post by Alex » Tue Sep 08, 2009 1:06 pm

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

OlafRappe
Posts: 2
Joined: Tue Sep 08, 2009 11:39 am

Re: Add images to internal buffer?

Post by OlafRappe » Tue Sep 08, 2009 2:59 pm

Thank you, Alexander,

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

Best Regards

Olaf Rappe

romanovma
Posts: 3
Joined: Fri Oct 09, 2009 12:16 pm

Re: Add images to internal buffer?

Post by romanovma » Fri Oct 09, 2009 12:19 pm

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.

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Add images to internal buffer?

Post by Alex » Sat Oct 10, 2009 9:39 am

Hello Michael,

Why you need so big buffer?

Best regards, Alexander

romanovma
Posts: 3
Joined: Fri Oct 09, 2009 12:16 pm

Re: Add images to internal buffer?

Post by romanovma » Mon Oct 12, 2009 9:39 am

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.

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Add images to internal buffer?

Post by Alex » Mon Oct 12, 2009 1:37 pm

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

romanovma
Posts: 3
Joined: Fri Oct 09, 2009 12:16 pm

Re: Add images to internal buffer?

Post by romanovma » Mon Oct 12, 2009 2:56 pm

Alex wrote:VintaSoftTwain.NET Library allows to add images to existing TIFF file
Thank you. Seems like it will solve my problem.
Alex wrote: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.

Cabim7
Posts: 1
Joined: Thu Feb 25, 2010 10:06 pm

Re: Add images to internal buffer?

Post by Cabim7 » Sat Feb 27, 2010 10:13 pm

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.

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Add images to internal buffer?

Post by Alex » Tue Mar 02, 2010 12:22 pm

Hello Carl,

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

Best regards, Alexander

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest