Loading...

despeckle, autocrop

Support for GdTwain ActiveX and GdTwain Pro ActiveX/SDK.

despeckle, autocrop

Postby joecool2005 » Thu Sep 06, 2007 3:43 pm

Hi,

Is it possible to do a despeckle and autocrop on a image?
I saw the crop method, but I want to do automaticaly.

Thx
Joe
joecool2005
 
Posts: 10
Joined: Tue Aug 14, 2007 5:21 pm

Postby Loïc » Thu Sep 06, 2007 9:28 pm

Hi,

For the instant there is not Despeckle method into the GdTwain component. However it is in my wish list.

For the autocrop you can use the CropBorders() or the CropBorders2() methods:
http://www.gdpicture.com/references/gdt ... rders.html

http://www.gdpicture.com/references/gdt ... ders2.html


Best regards,

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

Postby joecool2005 » Thu Sep 06, 2007 10:03 pm

The CropBorders() or the CropBorders2() methods is it for all scanner?

When I do this
Code: Select all
document.write oTWAIN.CropBorders


it returned "0"

Thx
Joe
joecool2005
 
Posts: 10
Joined: Tue Aug 14, 2007 5:21 pm

Postby Loïc » Thu Sep 06, 2007 10:12 pm

The CropBorders() or the CropBorders2() methods is it for all scanner?


Yes, in fact all the methods which are not prefixed by Twain are for all scanners.

The return code 0 means OK ! http://www.gdpicture.com/references/gdt ... tatus.html

Maybie the resulting image is not what you were waiting ? If it is the case you can send me your image at esupport (at) gdpicture (dot) com and I will tell you what method you have to use.

Best regards,

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


Return to GdTwain [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest