Thanks for the answers.
I am trying to use an image as background of a text. So basically, write a text over an image in background.
This image size is not important, so let's say... I want to have an image with 200x200px and put some background into that space (which can be a image with 600x300px ...
Search found 2 matches
- 2012-04-14T11:50:56-07:00
- Forum: Users
- Topic: Cant use caption (need wrapped text)?
- Replies: 4
- Views: 6803
- 2012-04-12T08:40:40-07:00
- Forum: Users
- Topic: Cant use caption (need wrapped text)?
- Replies: 4
- Views: 6803
Cant use caption (need wrapped text)?
Hello,
I have the following code (used in PHP):
exec(
'convert -extent '.$width.'x'.$height.' gradient: -sigmoidal-contrast 6,45% \
'.$imgBackground.' \
+repage \
-font "'.$font.'" \
-fill "'.$fontColor.'" -pointsize '.$text_size.' -gravity "'.$text_align.'" \
-draw "text 1,0 ''.$text ...
I have the following code (used in PHP):
exec(
'convert -extent '.$width.'x'.$height.' gradient: -sigmoidal-contrast 6,45% \
'.$imgBackground.' \
+repage \
-font "'.$font.'" \
-fill "'.$fontColor.'" -pointsize '.$text_size.' -gravity "'.$text_align.'" \
-draw "text 1,0 ''.$text ...