https://www.dropbox.com/s/sju8n9jkkdrvden/2016-01-07%2013.20.19.jpg?dl=0
This image ultimately, I would like centered and scaled appropriately within a resulting image of 1200 width, 629 height (or 1.91 aspect ratio).
The code you above, thank you, seems to just take my image and make it 300x300 piece of the image.
Sorry, I probably did not do a good job of describing my desired results, but basically I want to supply an image URL and if the height is greater than the width, then I want to center it on top of an IM white rectangle with a width of 1200 and a height of 629.
This image ultimately, I would like centered and scaled appropriately within a resulting image of 1200 width, 629 height (or 1.91 aspect ratio).
The code you above, thank you, seems to just take my image and make it 300x300 piece of the image.
Sorry, I probably did not do a good job of describing my desired results, but basically I want to supply an image URL and if the height is greater than the width, then I want to center it on top of an IM white rectangle with a width of 1200 and a height of 629.