transparency problem.
Posted: 2007-07-04T02:03:06-07:00
version info
using version 6.3.3-6
using command line
using xp pro
--------
i want to place some text on an image. this image will become alapha channel. call it A.gif
i then want to take B.gif (premade image). and make A.gif, alapha channel for this image. call this C.gif
i then want to take D.gif (premade image). load it up for a background. and then overlay C.gif. call this E.gif
---------------
cuting it down to the basics
convert -size 470x41 xc:white -fill black -font Tahoma-Bold -pointsize 33 -draw "text 5,30 'this is my test text'" A.gif
convert -size 470x41 xc:blue B.gif ((premade gif ))
((unknown command line)) to set A.gif, as alpha channel for B.gif ((will create C.gif))
convert -size 470x41 xc:green D.gif
((unknown command line)) to load up D.gif and then overlay C.gif. ((will create E.gif))
---------------
changing above code around i have tried varitions of below in so many ways that i am now lost of what i have not tried
convert D.gif B.gif -channel A -fill black -font Tahoma-Bold -pointsize 33 -draw "text 5,30 'this is my test text'" E.gif
thought i could load up D.gif ((background image that shows inside the text ))
load up B.gif ((background image that shows outside the text))
apply text to alpha channel of of B.gif as black or transparent
then send output to E.bmp or E.jpg or E.gif or any other format.
i don't know if i have my commands wrong or right or if i should be using something else. or if i am missing some sort of comma, forward slash or what....help plz.
using version 6.3.3-6
using command line
using xp pro
--------
i want to place some text on an image. this image will become alapha channel. call it A.gif
i then want to take B.gif (premade image). and make A.gif, alapha channel for this image. call this C.gif
i then want to take D.gif (premade image). load it up for a background. and then overlay C.gif. call this E.gif
---------------
cuting it down to the basics
convert -size 470x41 xc:white -fill black -font Tahoma-Bold -pointsize 33 -draw "text 5,30 'this is my test text'" A.gif
convert -size 470x41 xc:blue B.gif ((premade gif ))
((unknown command line)) to set A.gif, as alpha channel for B.gif ((will create C.gif))
convert -size 470x41 xc:green D.gif
((unknown command line)) to load up D.gif and then overlay C.gif. ((will create E.gif))
---------------
changing above code around i have tried varitions of below in so many ways that i am now lost of what i have not tried
convert D.gif B.gif -channel A -fill black -font Tahoma-Bold -pointsize 33 -draw "text 5,30 'this is my test text'" E.gif
thought i could load up D.gif ((background image that shows inside the text ))
load up B.gif ((background image that shows outside the text))
apply text to alpha channel of of B.gif as black or transparent
then send output to E.bmp or E.jpg or E.gif or any other format.
i don't know if i have my commands wrong or right or if i should be using something else. or if i am missing some sort of comma, forward slash or what....help plz.