Please see
This command
magick <INFILE> -size 701x%[fx:h] -background None -fill #FFFFFF -gravity center caption:"Pragmatic EA is a non-profit research company. Pragmatic EC is a consulting company." ( +clone -sparse-color bilinear "0,0,#285EA6,%[fx:w-1],%[fx:h-1],#5E28A6" ) ( -clone 1,2 -compose DstOver -composite ) -delete 1,2 +append <OUTFILE>
produces this file http://peaf.com/pf2/components/images/z000686.png
But this command (which is the same but appends another image to the top)
magick <INFILE> -size 1131x%[fx:h] -background None -fill #FFFFFF -gravity center caption:"Pragmatic EA is a non-profit research company. Pragmatic EC is a consulting company." ( +clone -sparse-color bilinear "0,0,#285EA6,%[fx:w-1],%[fx:h-1],#5E28A6" ) ( -clone 1,2 -compose DstOver -composite ) -delete 1,2 +append -size %[fx:w]x225 -background None -fill #000000 -gravity center caption:"What do Pragmatic EA Ltd and Pragmatic EC Ltd Do?" ( +clone -sparse-color bilinear "0,0,#FF9900,%[fx:h-1],%[fx:w-1],#00FF00" ) ( -clone 1,2 -compose DstOver -composite ) -delete 1,2 +swap -append <OUTFILE>
produces this file - makes the text in the blue box smaller than it should be!
http://peaf.com/pf2/components/images/o000686.png
Any help to make the text in both boxes fill their respective boxes?
Text fill not working
-
- Posts: 20
- Joined: 2014-10-17T03:12:47-07:00
- Authentication code: 6789
-
- Posts: 20
- Joined: 2014-10-17T03:12:47-07:00
- Authentication code: 6789
Re: Text fill not working
In fact - a simpler example is this one
http://www.pragmaticea.com/PF2/componen ... 000483.png
produced by
magick <INFILE> -size 701x%[fx:h] -background None -fill #FFFFFF -gravity center caption:"Pragmatic EA is a non-profit research company. Pragmatic EC is a consulting company." ( +clone -sparse-color bilinear "0,0,#285EA6,%[fx:w-1],%[fx:h-1],#5E28A6" ) ( -clone 1,2 -compose DstOver -composite ) -delete 1,2 +append <OUTFILE>
http://www.pragmaticea.com/PF2/componen ... 000483.png
produced by
magick <INFILE> -size 701x%[fx:h] -background None -fill #FFFFFF -gravity center caption:"Pragmatic EA is a non-profit research company. Pragmatic EC is a consulting company." ( +clone -sparse-color bilinear "0,0,#285EA6,%[fx:w-1],%[fx:h-1],#5E28A6" ) ( -clone 1,2 -compose DstOver -composite ) -delete 1,2 +append <OUTFILE>