This command is creating shadowed text over a shadowed red rounded rectangle.
Code: Select all
/usr/bin/convert \( -background none -font Z003-Medium-Italic -pointsize 195 -fill black -gravity center label:"cat" \) \ \( +clone -background black -shadow 80x5+5+5 \) -background none -layers merge +repage \ \( -size 1328.89888x289.07865 xc:red -alpha set -virtual-pixel transparent -channel A -blur 0x15 -threshold 50% +channel \) \ +swap -compose over -composite \( +clone -background black -shadow 80x5+5+5 \) \ -background black -layers merge +repage /home/encodertraffic/subtitles/images/element-3.png
My main 2 issues are:
1. The rounded corners in this section are jaggy: -alpha set -virtual-pixel transparent -channel A -blur 0x15 -threshold 50% +channel
IS there anything I can do to have smoother edges?
2. Final command for the shadow behind the rectangle isn't working. It appears to be putting the shadow on top instead of behind.
Thank you for your help.