Full opacity text on top of 50% opacity solid black
Posted: 2014-02-18T16:25:51-07:00
I'm having trouble with my "ordering", and I could use a second pair of eyes to tell me what I'm doing wrong please....
What I want to do is overlay a text element as _pure white_, and have THAT overlay on top of a solid black rectangle at 50% opacity, and have THAT overlay on top of an image. As you can see from the below command-line code, I've got it almost working, but as you can see, it puts a blend of 50% on _everything_.
convert http://o.aolcdn.com/dims-shared/dims3/G ... 80_350.jpg \( -background black -alpha on -size 356x -fill white \ -font Helvetica label:"Craigslist Killer: How Many Victims?" \) \ -gravity south -compose blend -define compose:args=50 over -composite output.jpg
Can someone give me some pointers on doing 3 things to this?
1) Make the blend so that the black background is 50% opacity, but the white text is 100% opaque
2) Make it so that no matter how long the text string, the font-size will remain consistent.
3) Add a padding to the bottom of the text-area so that it has about 10 pixels underneath the text, (but the black-background at 50% is still pegged at the bottom - - - making the black background taller in other words)
What I want to do is overlay a text element as _pure white_, and have THAT overlay on top of a solid black rectangle at 50% opacity, and have THAT overlay on top of an image. As you can see from the below command-line code, I've got it almost working, but as you can see, it puts a blend of 50% on _everything_.
convert http://o.aolcdn.com/dims-shared/dims3/G ... 80_350.jpg \( -background black -alpha on -size 356x -fill white \ -font Helvetica label:"Craigslist Killer: How Many Victims?" \) \ -gravity south -compose blend -define compose:args=50 over -composite output.jpg
Can someone give me some pointers on doing 3 things to this?
1) Make the blend so that the black background is 50% opacity, but the white text is 100% opaque
2) Make it so that no matter how long the text string, the font-size will remain consistent.
3) Add a padding to the bottom of the text-area so that it has about 10 pixels underneath the text, (but the black-background at 50% is still pegged at the bottom - - - making the black background taller in other words)