Hello guys
Thanks for your support always.
I have one doubt about draw concept in imagemagick .. Anyone give suggestion to me for creating heart shape in imagemagick using " draw " command.
I create circle,polygon,polyline etc... i try with bezier but i cant able to achieve my target ..can anyone help me ..
Your help precious for me
thanks advance.
Draw heart shape in imagemagick
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Draw heart shape in imagemagick
very crude and a lot of trial and error as I don't really understand the arc coords.
convert -size 200x200 xc:skyblue -fill white -stroke black \
-draw "arc 50,50 100,100 180,0 arc 100,50 150,100 180,0 \
line 50,75 100,150 line 150,75 100,150 color 100,100 floodfill" heart.gif
Also see http://www.imagemagick.org/Usage/thumbn ... er_overlay for an alternate by using a heart shaped character from some font.
And also http://www.imagemagick.org/Usage/transform/#edge_bitmap
convert -size 200x200 xc:skyblue -fill white -stroke black \
-draw "arc 50,50 100,100 180,0 arc 100,50 150,100 180,0 \
line 50,75 100,150 line 150,75 100,150 color 100,100 floodfill" heart.gif
Also see http://www.imagemagick.org/Usage/thumbn ... er_overlay for an alternate by using a heart shaped character from some font.
And also http://www.imagemagick.org/Usage/transform/#edge_bitmap
Re: Draw heart shape in imagemagick
Thanks frnd.
I am also getting the output this way ...but lot of efforts and errors i faced .. i thought any different way from you ...anyway thanks .. if i find any different solution i share with you ..thanks for your support frnd.
I wanna to knw your name..
Regards
John kennedy.s
I am also getting the output this way ...but lot of efforts and errors i faced .. i thought any different way from you ...anyway thanks .. if i find any different solution i share with you ..thanks for your support frnd.
I wanna to knw your name..
Regards
John kennedy.s
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Draw heart shape in imagemagick
jokepondy wrote:Thanks frnd.
I am also getting the output this way ...but lot of efforts and errors i faced .. i thought any different way from you ...anyway thanks .. if i find any different solution i share with you ..thanks for your support frnd.
I wanna to knw your name..
Regards
John kennedy.s
My name is Fred Weinhaus. I have the IM scripts website at the link below