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 : Friday, July 22, 2005 6:26:42 AM(UTC)

yren  
yren

Groups: Registered
Posts: 4


I like one of the functions in Adobe PhotoShop: Auto Level. How can I achieve that using LeadTools?

Thanks!

Yi

 

 

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 : Monday, July 25, 2005 12:52:26 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

Hello,

What is the programming interface (COM, OCX, API, etc.) you are using?

However, LEADTOOLS supports the AutoLevel functionality in our Raster Pro and above toolkits:

=========================
AutoLevel functionality:
=========================
1. If you are using the API programming interface, you can use the L_AutoColorLevelBitmap function to implement the AutoLevel feature as shown below:
-----------------------------------------
nRet = L_AutoColorLevelBitmap (&pData->LeadBitmap, NULL, DEFAULT_BLACK_CLIP, DEFAULT_WHITE_CLIP, AUTO_LEVEL);
-----------------------------------------

For more information, you can refer to the "LEADTOOLS Main API Help file, Version 14" and read the following topic:
- L_AutoColorLevelBitmap
 
2. If you are using the COM programming interface, you can use the AutoColorLevel method (ILEADRasterProcess) to implement the AutoLevel feature as shown below:
-----------------------------------------
Dim RasterProc As New LEADRasterProcess
RasterProc.AutoColorLevel LEADRasterView1.Raster, 50, 50, AUTO_LEVEL
-----------------------------------------

 
For more information, you can refer to the following topic in the "LEADTOOLS Main COM Object Help file":
- AutoColorLevel method (ILEADRasterProcess)

Thanks,
Maen Badwan
LEADTOOLS Technical Support

 
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.059 seconds.