Create multiple images on a canvas at once?
Posted: 2017-10-23T00:01:12-07:00
I'm trying to generate one image by creating multiple images in one command and placing them on a canvas.
So in short what I want to do is define a white background area, create another image and position that on the background and then create another image and then place that on the background and then flatten the whole image and save as one.
So I thought this would work :
In the final result I only see the blue square and it is not positioned at +200+200. Only using the first parentheses I get the red square but not in the right position. Any ideas one what I am missing?
So in short what I want to do is define a white background area, create another image and position that on the background and then create another image and then place that on the background and then flatten the whole image and save as one.
So I thought this would work :
Code: Select all
convert -size 4500x4500 xc:white \( -size 400x400 xc:red \) -geometry +500+900 \( -size 400x400 xc:blue -rotate 45 \) -geometry +200+200 -layers flatten a_new.png