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 tried this:
convert test.jpg -resize 100x100 -background black -gravity center -extent 100x100 output.png