Imagemagick and text problems
Posted: 2007-08-24T03:14:17-07:00
Hi there,
I am pretty new to imagemagick and have some problems. I don't know how to tell imagemagic that I want to have new line somewhere in my text. From input file it wouldn't be parsed.
My code:
comment: background.jpg is 800x600 image and input text is parsed from file, but where there are \n characters they are not parsed on image as new lines.
How to do that?
Thanks,
Vito.
I am pretty new to imagemagick and have some problems. I don't know how to tell imagemagic that I want to have new line somewhere in my text. From input file it wouldn't be parsed.
My code:
Code: Select all
#!/bin/bash
convert -size 700x \
-background none \
-pointsize 45 \
caption:@- \
text.png
composite -compose Multiply -gravity center text.png background.jpg result.png
rm text.png
How to do that?
Thanks,
Vito.