Placing image and joining commands
Posted: 2018-12-14T08:07:44-07:00
I have two commands.
The first one does what its supposed to do - put a box to the right of the image whose height is equal to the height of the input image with a width of 1131 pixels and fill it with some text.
input: http://pragmaticea.com/pragmatic/compon ... 000477.png
Output: http://pragmaticea.com/pragmatic/compon ... 000477.png
magick 000477.png ^
-size 1131x%[fx:h] -background None -fill #FFFFFF -gravity center caption:"'The Business' and IT are so intrinsically linked, a new paradigm is needed.|That paradigm is DOTS." ( +clone -sparse-color bilinear "0,0,#285EA6,%[fx:w-1],%[fx:h-1],#5E28A6" ) ( -clone 1,2 -compose DstOver -composite ) -delete 1,2 +append o000477.png
The second one does not. It is supposed to create a box equal to the width of the previous commands image with a hieght of 225 pixels (all this is does fine) but I want it to position that box at the top of previsous image (which is does not do, it just places it over to the right and in the middle)
input: http://pragmaticea.com/pragmatic/compon ... 000477.png
Output: http://pragmaticea.com/pragmatic/compon ... 000477.png
What is required: Output: http://pragmaticea.com/pragmatic/compon ... 000477.png
magick o000477.png ^
-size %[fx:w]x225 -background None -fill #FFFFFF -gravity center caption:"Why is the normal 'Business/IT' view of a company not appropriate for the 21st Century?" ( +clone -sparse-color bilinear "0,0,#285EA6,%[fx:w-1],%[fx:h-1],#5E28A6" ) ( -clone 1,2 -compose DstOver -composite ) -delete 1,2 +append z000477.png
Also, I want to join both of these commands together which I also cannot do!
Cheers.
The first one does what its supposed to do - put a box to the right of the image whose height is equal to the height of the input image with a width of 1131 pixels and fill it with some text.
input: http://pragmaticea.com/pragmatic/compon ... 000477.png
Output: http://pragmaticea.com/pragmatic/compon ... 000477.png
magick 000477.png ^
-size 1131x%[fx:h] -background None -fill #FFFFFF -gravity center caption:"'The Business' and IT are so intrinsically linked, a new paradigm is needed.|That paradigm is DOTS." ( +clone -sparse-color bilinear "0,0,#285EA6,%[fx:w-1],%[fx:h-1],#5E28A6" ) ( -clone 1,2 -compose DstOver -composite ) -delete 1,2 +append o000477.png
The second one does not. It is supposed to create a box equal to the width of the previous commands image with a hieght of 225 pixels (all this is does fine) but I want it to position that box at the top of previsous image (which is does not do, it just places it over to the right and in the middle)
input: http://pragmaticea.com/pragmatic/compon ... 000477.png
Output: http://pragmaticea.com/pragmatic/compon ... 000477.png
What is required: Output: http://pragmaticea.com/pragmatic/compon ... 000477.png
magick o000477.png ^
-size %[fx:w]x225 -background None -fill #FFFFFF -gravity center caption:"Why is the normal 'Business/IT' view of a company not appropriate for the 21st Century?" ( +clone -sparse-color bilinear "0,0,#285EA6,%[fx:w-1],%[fx:h-1],#5E28A6" ) ( -clone 1,2 -compose DstOver -composite ) -delete 1,2 +append z000477.png
Also, I want to join both of these commands together which I also cannot do!
Cheers.