despeckle, autocrop

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
joecool2005
Posts: 10
Joined: Tue Aug 14, 2007 5:21 pm

despeckle, autocrop

Post by 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

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

Post by 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:
https://www.gdpicture.com/references/gdt ... rders.html

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


Best regards,

Loïc Carrère

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

Post by 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

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

Post by 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 ! https://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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest