ImageMagick command to enlarge original image

Viewed 1112

I have a canvas.png image which is 2048 x 2048 px. I have a background.jpg image which is 1920 x 1080 px.

I want to increase the size of the background.jpg and place it on canvas.png, it must fill the whole area but background.jpg should remain in proportion.

When the two images are composed I want to retain the original canvas size of 2048 x 2048 px

canvas.png

background.jpg

2 Answers
Related