Shadow of caption AND image blured
Posted: 2018-03-05T09:15:59-07:00
Hi
I'm all new to ImageMagick and due to my mothertongue some details are pretty hard to understand. Unluckily most samples have a monchrome background, while I need a .jpg
After some trial an error I almost got what I want:
Most of this was taken from the 'Fuzzy Shadow' sample. However in the sample is just a lightblue background... no matter if that blurs!
But: I don't want the original picture myImage.jpg to be blured, only the caption should have a shadow to be better readable.
I failed trying to make this work with -shadow...
I'm all new to ImageMagick and due to my mothertongue some details are pretty hard to understand. Unluckily most samples have a monchrome background, while I need a .jpg
After some trial an error I almost got what I want:
Code: Select all
convert myImage.jpg -font Calibri -pointsize 48 -gravity south -stroke black -strokewidth 2 -annotate +5+5 "myImage" -blur 0x4 -stroke black -strokewidth 1 -fill white -annotate +0+10 "myImage" myImage.png
But: I don't want the original picture myImage.jpg to be blured, only the caption should have a shadow to be better readable.
I failed trying to make this work with -shadow...