Hello Guys..
Have a nice weekstart ...
$samp7 = "images/test1.jpg";
$samp101 = "images/circles.gif";
exec("convert $samp7 \( +clone -threshold -1 -negate -fill white -draw \"circle 64,64 64,0\" \) -alpha off -compose copy_opacity -composite $samp101");
In this code .. I got good circle image ..its working fine for me.. but edges of the circle is not clear ..
So my question is ..is it possible to make the circle edge like blur then can we make any color blur ?
I epxect your replies..thanks for your precious help.
Any possible to make edge blur in shape image?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Any possible to make edge blur in shape image?
Sorry I don't understand your question. The command has no color other than the input image nor does it have any blur specified. Can you post a link to your resulting image and then explain a bit more clearly what you want to happen.
Re: Any possible to make edge blur in shape image?
Hello Frnd
Thanks for your reply ..We get the shapes like circle and eclipse ..based on our code ..
My Question is .. This circle and other shapes are not clear edges ..do you look our previous ouptput which you given to me .. So i need perfect edge ...
1. Any possible to create like this shape .... Shape have white border with blur effect ..
Your help is precious for me.
Thanks for your reply ..We get the shapes like circle and eclipse ..based on our code ..
My Question is .. This circle and other shapes are not clear edges ..do you look our previous ouptput which you given to me .. So i need perfect edge ...
1. Any possible to create like this shape .... Shape have white border with blur effect ..
Your help is precious for me.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Any possible to make edge blur in shape image?
try this (note you have to use png for output so that it antialiases the edge using transparency)
convert zelda3.jpg \
\( +clone -channel rgba -alpha on -threshold 100% -fill white -draw "circle 64,64 64,0" \
-virtual-pixel black -blur 1x65000 -level 50%,100% \) \
-alpha off -compose copy_opacity -composite zelda3_circ2.png
To antialias more use -blur 2x65000
convert zelda3.jpg \
\( +clone -channel rgba -alpha on -threshold 100% -fill white -draw "circle 64,64 64,0" \
-virtual-pixel black -blur 1x65000 -level 50%,100% \) \
-alpha off -compose copy_opacity -composite zelda3_circ2.png
To antialias more use -blur 2x65000