The starting images are:
android.png
and concentric.png
The first command uses the android as an alpha channel mask so I end up with an android cutout of concentric.png including the drop shadow
Code: Select all
convert concentric.png android.png -alpha Set -compose Dst_In -composite android-con.png
But it is a little too transparent, so the next command just doubles it up
Code: Select all
convert android-con.png \( +clone \) -composite android-dub.png
But, I want to bring in a white glow in place of the blue drop shadow to help define the lines a little better, so I run:
Code: Select all
convert android.png -negate android-con.png -composite android-final.png
Now for combining them:
I started with bringing it down to two commands:
Code: Select all
convert concentric.png android.png -alpha Set -compose Dst_In -composite android-con.png
convert android.png -negate \( android-con.png \( +clone \) -composite \) -composite android-final.png
Code: Select all
convert android.png -negate \( \( concentric.png android.png -alpha Set -compose Dst_In -composite \) \( +clone \) -composite \) -composite android-fail.png
I'm sure I'm misunderstanding either the way parentheses work, or the way +clone works. Any advice?
Thanks,
Jon F Hancock