How do I create transparent text
Posted: 2010-05-17T08:42:46-07:00
I am trying to create a file with a transparent background and transparent text. I would like to have the text white but have it be a tranparency of 35%. I have tried a lot of things and I can't seem to be able to get it to work. Below is where I am at. I am using label because I don't know what the final dimensions are going to be. Thanks for the help.
convert -background transparent -fill "rgb(255,255,255)" -gravity West -font arial.ttf'
-pointsize 20 label:"This is a test" -background transparent -flatten -trim +repage testFile.png
convert -background transparent -fill "rgb(255,255,255)" -gravity West -font arial.ttf'
-pointsize 20 label:"This is a test" -background transparent -flatten -trim +repage testFile.png