Page 1 of 1

Reset ImageId getting from TwainAcquireToGdPictureImage

Posted: Tue Sep 07, 2010 2:47 pm
by riggson
Hi,

how can I reset the ImageId which I'm getting from the TwainAcquireToGdPictureImage method? Only my first scan starts whith the Id 1.

Re: Reset ImageId getting from TwainAcquireToGdPictureImage

Posted: Tue Sep 07, 2010 3:44 pm
by Loïc
Hi,

I am not sure to understand what you need but if you are looking for a way to release the acquired image from the memory you have to use the ReleaseGdPictureImage method.

Kind regards,

Loïc

Re: Reset ImageId getting from TwainAcquireToGdPictureImage

Posted: Thu Sep 09, 2010 7:56 am
by riggson
Hi Loic,

thank you for your respond. I want to scan serveral documents and start each document with the image id 1.

E.g.:
First Document has 10 Pages -> last image id = 10
Second Document has 5 Pages -> fist image id = 11 (should be 1)

Regards
riggson

Re: Reset ImageId getting from TwainAcquireToGdPictureImage

Posted: Thu Sep 09, 2010 8:49 am
by Loïc
Hi,

You can't do that. The ImageID is managed by GdPicture core and is subject to have different behavior depending available memory, image size, image format etc...

Kind regards,

Loïc