Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: add white bars/background wider than a portrait image (centering the photo)

$
0
0
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.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>