I want to be able to take a horizontal or vertical main image and place it on top but no matter the size (could be coming in as 3:2 or maybe a pano) be able to make it fit with a border of at least 200px.
Examples of what the output should be:
Vertical Image coming in:
I've started with code that looks like this:
Code: Select all
convert bg.jpg puppy.jpg -geometry '1900x1900<' -gravity center -composite output.jpg
Sorry if I'm being vague. just began learning all of the ins an out of IM.