Code: Select all
convert -size 1000x1000 xc:white rose: -gravity Center -composite out.png
- 1000 px width and height same as rose, or
- width same as rose and 1000 px height
Code: Select all
convert -size 1000x1000 xc:white rose: -gravity Center -composite out.png
As fmw42 mentioned, you can use "-extent" in a fairly simple command like this...
Code: Select all
convert rose: -background white -gravity center -extent 1000x0 out.png
Code: Select all
convert rose: -background white -gravity center -extent 1000x out.png