My image skills are very limited with ImageMagick. Im trying to create a motivational poster like this one:
After a few steps i managed to get this result starting with a white rectangle image.
I use this code to make that:
Code: Select all
<?php
shell_exec('convert source.jpg -bordercolor 000000 -border 3x3 step1.jpg');
shell_exec('convert step1.jpg -bordercolor white -border 2x2 step2.jpg');
shell_exec('convert step2.jpg -bordercolor 000000 -border 10%x10% step3.jpg');
?>
1. Extend the black border at bottom.
2. Place the Two lines of text, centered and if its possible autosized.
What commands i need to make this?
Thanks