Loading...

Dual Stream - Convret GrayScale Image to Bitonal

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Re: Dual Stream - Convret GrayScale Image to Bitonal

Postby Loïc » Fri Feb 13, 2009 7:02 pm

Hi,

This log is generated by the previous version.

Because you were using the beta edition I suggest you to uninstall GdPicture from your computer. make sure to remove gdtwain.dll from c:\windows\system32\, then install it again from the download package of the website.

Let me know the new behavior.

Have a nice week end too ;)

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Dual Stream - Convret GrayScale Image to Bitonal

Postby tlee » Fri Feb 20, 2009 12:02 am

Hi Loïc:

Is it possible to set the dual stream property programmatically?

We would like to change the scanner property based on user selection in the application, not by presetting the scanner properties as in the screen shot attached.

There will be 2 radio buttons, one for dual stream, one for bitonal. If user selects dual stream, the scanner properties will be changed in the codes and 2 images will be created otherwise only one image created if user selects bitonal.

Thanks

Tim

scanner property.zip
(17.74 KiB) Downloaded 47 times
tlee
 
Posts: 10
Joined: Tue Feb 10, 2009 12:04 am

Re: Dual Stream - Convret GrayScale Image to Bitonal

Postby Loïc » Fri Feb 20, 2009 6:26 pm

Hi Tim,

You can try this:

Code: Select all
 Call Imaging1.TwainSetCapCurrentNumeric(CAP_DUPLEX, TWTY_UINT16, 2)



Let me know if it is working.

Best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Dual Stream - Convret GrayScale Image to Bitonal

Postby tlee » Fri Feb 20, 2009 11:28 pm

Hi Loïc:

There is a delay between the image displayed and the image scanned(transported). This is a new issue and has nothing to do with the previous one.

For example, the veiewer just starts to display image 1 but actually image 1, 2, 3 has been transported.

Our application needs to display the image in sync with the image being scanned as the user is monitoring the images and need to stop the scanning once something wrong is spotted.

Is there any way to achieve this?

Thanks and have a nice weekend.

Tim
tlee
 
Posts: 10
Joined: Tue Feb 10, 2009 12:04 am

Re: Dual Stream - Convret GrayScale Image to Bitonal

Postby Loïc » Fri Feb 20, 2009 11:31 pm

Hi Tim,

Turn autoscan mode to false:

Code: Select all
Imaging1.TwainSetAutoScan(False)


Best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Dual Stream - Convret GrayScale Image to Bitonal

Postby tlee » Mon Feb 23, 2009 7:12 pm

Hi Loïc:

Turn autoscan mode to false seems not improve much.

Again, I use your sample in C:\Program Files\GdPicture ToolKit Pro Edition\samples\vb\Twain scanning and I log timestamp in Private Sub Command1_Click(). The vb project has already been uploaded on 02/11/09.

It took 5 -6 sec for the first time Imaging1.CreateImageFromTwain(Me.hWnd) call, it took 1 -2 sec for all the following calls.

In my own application, nAcquiredImageId = Imaging1.TwainAcquireToGdPictureImage(Me.hwnd) call is used and it also took 5-6 sec for the first time call.

Is this caused by slow transfering the image data from scanner buffer to twain driver to your control?
Any way to minimize this timespan?

Thanks

Tim
tlee
 
Posts: 10
Joined: Tue Feb 10, 2009 12:04 am

Re: Dual Stream - Convret GrayScale Image to Bitonal

Postby tlee » Wed Feb 25, 2009 11:25 pm

Hi Loïc:

Is there any way to allow menory transfer instead of native?

Thanks

Tim
tlee
 
Posts: 10
Joined: Tue Feb 10, 2009 12:04 am

Re: Dual Stream - Convret GrayScale Image to Bitonal

Postby iyyappan » Sat Nov 19, 2011 10:28 am

hi loic,

I have same error..,
i want that DLL..,Can u pls send that dll for me...,
iyyappan
 
Posts: 1
Joined: Sat Nov 19, 2011 9:27 am

Previous

Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest

cron