I'm working due to my new job with Imagemagick for a few days and have a question concering writing text on top of a background image.
I do this in the following perl script (without background image, only background-color):
Code: Select all
system "convert",
"-size", "468x60",
"-fill", "#8F000F",
"-draw", "color 0,0 reset",
"-fill", "white",
"xc:transparent", # in newer ImageMagick Versions instead use: "canvas:none",
"-pointsize", "12",
@draw,
$filename;
I would be glad if someone could give me a hint which command I have to use to place the background image in this script.
Thanks,
Blackeye
EDIT:
I now get two files. One is the background-image, and the other one is my generated text. Both are named with $filename and a counter at the end. This is when I save them as jpg and png. I wrote that this will hapen. When I save it as gif, I'll get an animated image sequence. But I just want the two images put together. How can I do this?
Here is what I added to my code:
Code: Select all
"-adjoin", "path/to/facebook.gif",