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 : Tuesday, December 28, 2010 6:36:41 PM(UTC)

Noufal  
Noufal

Groups: Registered
Posts: 21


  Hello....I have given values to colored balls effect like following....


Parameter


Value



lNumBalls


500



lSize


10



lSizeVariation


90



lHighLightAng


315



crHighLight


White



crBkgColor


Blue



crShadingColor


Black



lAvrBallClrOpacity


0



lBallClrOpacityVariation


0



lRipple


4250



lFlags


CLRBALLS_SHADING_LEFTRIGHT | CLRBALLS_BALL | CLRBALLS_IMAGE | CLRBALLS_ BALLCLR_OPACITY


BallColors = new RasterColor[1];
cmdBalls.BallColors[0] = new RasterColor(255, 0, 0);
   I have given the same values for two images, but the effects are different.... How can i set "Ball Colors" To effect?
pls help me...

 

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 : Tuesday, December 28, 2010 11:33:50 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

Noufal,
Are the 2 images exactly the same size and contents (copy of each other)? If not, the effect will give different results based on the size and pixels of the image.
For example, I applied the default parameters for this effect in our C DLL image processing demo to 2 images and the results I got were different for the 2 different images as shown in the 2 pairs of Before/After screenshots attached.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
Maen Hasan attached the following image(s):
Clrbls.jpg
 
#3 Posted : Wednesday, December 29, 2010 1:14:04 AM(UTC)

Noufal  
Noufal

Groups: Registered
Posts: 21



BallColors = new RasterColor[1];
cmdBalls.BallColors[0] = new RasterColor(255, 0, 0);


I have set ball colors like this,,, is it correct? pls help me...
 
#4 Posted : Wednesday, December 29, 2010 1:25:42 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

The following page contains a sample code that shows how you can use the ColoredBallsCommand Class:
http://www.leadtools.com/Help/LEADTOOLS/v17/DH/PS/Leadtools.ImageProcessing.SpecialEffects~Leadtools.ImageProcessing.SpecialEffects.ColoredBallsCommand.html

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-2020, Yet Another Forum.NET
This page was generated in 0.213 seconds.