I use convert to generate an image using the command below. It works for me, but when i want to add a barder, i obtain a bad result.
I explain my code, I generate a transparent (png) image contains a text with background texture (for the text).
I want to add a border to the text and I get a bad result
Code: Select all
convert
-background none
-fill white
-gravity center
-pointsize 96 -size x134
-font "lobster1.4.ttf"
label:"My text"
\( -clone 0 -tile texture_C3F000.jpg -draw "color 0,0 reset" -fill "#C3F000" -colorize 50% \)
\( -clone 0 -fill "none" -colorize 100% \)
-reverse -compose over -composite -alpha set -virtual-pixel transparent -channel A -blur 0x0.7 -level 50,100% +channel
-resize "240x114>" -extent 240x114
\( +clone -background black -shadow 80x3+0+0 \) +swap -background none -layers merge +repage
338b02ce4ce95ecb6d4aa5631e.png

Thanks



