Hello!
I'm new to imagemagick and need some help.
I have 3 images and 1 file. I need to arrange them exacltly as on the example picture below:
1st picture is in the top left corner
2nd in the middle for the whole width.
3rd just in the middle.
Also, 1 file has name that I would like to insert in the result picture near 1st picture (just letters from the file name).
I will put all these in the script for automatical processing.
example picture: http://postimg.org/image/4wcf5l0gl
need help with montage
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: need help with montage
There are many ways to do this, such as this Windows BAT script:
Adjust for other script languages.
See:
http://www.imagemagick.org/script/comma ... ptions.php
http://www.imagemagick.org/Usage/text/#user_escapes
http://www.imagemagick.org/script/escape.php
Code: Select all
convert -size 150x150 gradient:red-green pic1.png
convert -size 600x600 gradient:green-blue pic2.png
convert -size 150x150 gradient:blue-green pic3.png
convert ^
pic1.png -set option:CAPT " Name is %%f" label:%%[CAPT] +append ^
-size 20x20 xc: ^
pic2.png ^
-size 20x20 xc: ^
-append ^
pic3.png ^
-gravity South ^
-append ^
p.png
See:
http://www.imagemagick.org/script/comma ... ptions.php
http://www.imagemagick.org/Usage/text/#user_escapes
http://www.imagemagick.org/script/escape.php
snibgo's IM pages: im.snibgo.com