Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, July 16, 2008 7:53:05 PM(UTC)

ischoi  
ischoi

Groups: Registered
Posts: 7


Hello,

I use LEAD Document Imaging 13.

When I look into a scanner program, there is an option to set background color.

So, I try to find an option to set backgrount color.

But, I can't find any option in LEAD Twain API Help File.

Please tell me how to set background color.

Thank you!!

 

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, July 17, 2008 6:37:16 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)



Normal
0


false
false
false







MicrosoftInternetExplorer4








/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}


Is this a
Twain scanning function, or is it processing for the image after it is scanned?
I don't think the Twain standard defines such a feature, so if it is a scanner feature, it might be a custom feature.


Can you give me more details about how you use it?

 
#3 Posted : Sunday, July 20, 2008 8:07:58 PM(UTC)

ischoi  
ischoi

Groups: Registered
Posts: 7


Hi, Thank you for your reply.

I attached two images of twain driver scanner option dialog .

When you extract an attached file, you can see "default option" image and "detail option" image.

Default option dialog will be set as using LTWAINPROPERTIES struct.

But I can't find any struct to set background color of scan image like detail option dialog.

When background color is not set to black or white, color scan image is not to no effect about L_AutoTrimBitmap function.

Thank you

 

File Attachment(s):
Twain Scanner Driver Option.zip (68kb) downloaded 89 time(s).
 
#4 Posted : Monday, July 21, 2008 3:50:42 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Bash,
Try using the ICAP_AUTOMATICBORDERDETECTION capability. Please note that ICAP_UNDEFINEDIMAGESIZE should be enabled to use this feature.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.111 seconds.