Twain Aquisition .tmp files

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
erambourg
Posts: 5
Joined: Tue Aug 07, 2012 9:58 am

Twain Aquisition .tmp files

Post by erambourg » Tue Aug 07, 2012 10:12 am

Hi

Using TwainAcquireToGdPictureImage function in 8.5 and 9.0 version
tmpXXX.tmp empty files are created in c:\Users\[user]\AppData\Local\Temp\
after lots of scan (~30000-40000) the scan process became very slow
When manually delete this files, the process go normal speed.

I can do it in the program but it's not very correct to delete hazard files.
Is it possible to automaticaly delete the created files in a next version of the Gdpicture library?


Thanks a lot

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Twain Aquisition .tmp files

Post by Loïc » Tue Aug 07, 2012 10:36 am

Hello,

Could you try the current 9.1? We should have fixed this behavior.

Kind regards,

Loïc

erambourg
Posts: 5
Joined: Tue Aug 07, 2012 9:58 am

Re: Twain Aquisition .tmp files

Post by erambourg » Tue Aug 07, 2012 11:32 am

The problem exists in the 9.1 version too.

Kind regards,

Emmanuel

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Twain Aquisition .tmp files

Post by Loïc » Tue Aug 07, 2012 2:42 pm

Hello there,

Are you sure you've tried the 9.1 ? GetVersion method should returns 9.1.

Basically your scanners seems to impose the file transfer mode despite we request a native xfer mode (DIB transfer in memory). When such transfer is instanced, GdPicture tries to delete the file after the acquisition process. In your case it seems that the driver lock this file to prevent it from deletion. Wed have tested such transfer with 5 different scanners with no issue.

If the problem persists we will need the scanner model & the driver version.

Kind regards,

Loïc

erambourg
Posts: 5
Joined: Tue Aug 07, 2012 9:58 am

Re: Twain Aquisition .tmp files

Post by erambourg » Wed Aug 08, 2012 12:07 pm

I use the 9.1 version
I use several Scanner (Canon DR-X10C, Canon 9080C, Canon P-150) and i have the same probleme.
For DR-X10 I have the 1.8 version drivers
To avoid scanning 30000-50000 docs on each test i have use twainkit to simulate the scanner and probleme exists too.
I can give you a program test to reproduce the problem.

Thanks

Emmanuel

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Twain Aquisition .tmp files

Post by Loïc » Wed Aug 08, 2012 12:49 pm

Yes I would like a program because I also use the Canon 9080C for testing without any issue...
Please send it through https://www.gdpicture.com/support/getting-support-from-our-team

Kind regards,

Loïc

erambourg
Posts: 5
Joined: Tue Aug 07, 2012 9:58 am

Re: Twain Aquisition .tmp files

Post by erambourg » Wed Aug 08, 2012 2:51 pm

Ok
I send you it

Thanks
Emmanuel

Thorsten
Posts: 2
Joined: Tue Sep 11, 2012 12:44 pm

Re: Twain Aquisition .tmp files

Post by Thorsten » Tue Sep 11, 2012 1:00 pm

Hi Loic,
we have exactly the same problem with the latest V8.5 Version.
Is there a fix for it?

Kind regards
Thorsten

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Twain Aquisition .tmp files

Post by Loïc » Tue Sep 11, 2012 6:32 pm

Hello Thorsten,

Unfortunately no. The fix is available only for the V9. You can contact our sales team to check if your are eligible to a free upgrade. See: https://www.gdpicture.com/contact/contact-form.php

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest