COrrect way to apply filter to only one layer
Posted: 2011-05-23T04:29:29-07:00
Hi all IM gurus.
I'm rather new to this so please bear with me. I have gone through the usual search but didn't find anything to point me in the right direction.
I'm basicly try to draw a few strokes layered atyop of each other. Eacj with their own filter/effect but haven't yet managed. I'll elaborate a little more.
Stroke 1 needs a blur so as to simulate a shadow (without the offset)
Stroke 2 needs to be exactly on top with some transparency and smaller witdh
Stroke 3 ... and so on.
The problem is that once I try and apply transparency to stroke 2 it also applies it to stroke 1 my code so far is this:
Any clues are greatly appreciated!
Cheers,
PL
I'm rather new to this so please bear with me. I have gone through the usual search but didn't find anything to point me in the right direction.
I'm basicly try to draw a few strokes layered atyop of each other. Eacj with their own filter/effect but haven't yet managed. I'll elaborate a little more.
Stroke 1 needs a blur so as to simulate a shadow (without the offset)
Stroke 2 needs to be exactly on top with some transparency and smaller witdh
Stroke 3 ... and so on.
The problem is that once I try and apply transparency to stroke 2 it also applies it to stroke 1 my code so far is this:
Code: Select all
convert -size 150x150 xc:none \( -fill none -stroke red -strokewidth 3 -draw "arc 10,10 130,130 80,280" -channel RGBA -blur 0x5 \) \
\( -stroke white -strokewidth 1 -draw "arc 10,10 130,130 80,280" -channel a -evaluate divide 2 \) stroke.png
Cheers,
PL