Getting started with ImageMagic and trying to find a way to do this... If an image is less than 50 pixels tall or 50 pixels wide, I\'d like to place it (un-scaled) in the horizo
I used -extent to do this:
convert input.jpg -gravity center -background white -extent 50x50 output.jpg