Page 1 of 1

Glittering Text?

Posted: 2007-04-03T05:43:50-07:00
by arindra
Sir,
For making a glitter text,how can i fill a text with a animated gif image?
i used the code here:

convert -size 355x135 xc:none -fill darkred -font ./fonts/anagram.ttf -pointsize 40 -draw \" text 0,75 'CODE' \" -pointsize 80 -draw \" text 135,110 '2'\" -pointsize 40 -draw \"text 190,110 'IMAGE'\" logo1.gif

convert logo1.gif -channel matte -negate -separate logo1_mask.gif

composite -compose CopyOpacity logo1_mask.gif tests5.jpg result1.gif

the above code is right when i fill the text with jpg image
but the result is totally black when i fiil the text with animated gif image.
please help as soon as possible....
Thanks.

Re: Glittering Text?

Posted: 2007-04-04T17:33:13-07:00
by anthony
IM examples for this type of thing is comming. Just waiting on a few new -layers methods for alpha compositiong of multiple images.

It is posible to do it right now, but not as simple as it will be after the new operators have been created. Aee animation alpha composition, http://www.imagemagick.org/Usage/animations/#compose

In the mean time look at the opening example on the animation basics page...
http://www.imagemagick.org/Usage/anim_basics/

Re: Glittering Text?

Posted: 2007-07-01T20:22:08-07:00
by anthony
When I get some time... I have just spent a lot of time on Image Distortion additions and have not had time to look at glitter.

If it does appear it will probably be either in advanced stars.
http://www.imagemagick.org/Usage/advanced/#stars
Or if I get time a whole new section "animation cookbook" (not likely soon).

In the mean time look at "Its full of stars" in the MagicStudio Forum. which is the main discussion topic for this type of thing.

Re: Glittering Text?

Posted: 2007-07-05T16:46:46-07:00
by anthony
Some news... With the impending release of IM v6.3.5 a +noise Random has been added. This makes creating random stars a lot faster than the -fx method.