This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, December 28, 2010 6:36:41 PM(UTC)
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...
#2
Posted
:
Tuesday, December 28, 2010 11:33:50 PM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
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):
#3
Posted
:
Wednesday, December 29, 2010 1:14:04 AM(UTC)
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)
Groups: Registered, Tech Support
Posts: 1,326
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.