using the latest version of imageMagick for windows (downloaded today)
small_image.jpg = 16×16
large_image.jpg = 800×600
convert small_image.jpg -gravity Center -resize '208×120>' -background white -extent 208×120 s_icon.gif
produces: "convert: invalid geometry `'208×120' @ geometry.c/ParseRegionGeometry/1322" yet it still produces a 208×120 image with the tiny 16×16 image perfectly centered within the new image. Perfect.
However, if I try it with the larger image, it gives me the same error but it actually seems to crop rather than scale down as the "208×120>" implies.
What is that error, how do I fix it and why doesn't this command line work for larger images?
The documentation is less than stellar 🙁
Best Answer
I had the same issue. Apparently it's because you are using single quotes instead of double (normal) quotes. Your string should be like this:
Don't know if this is allowed on *nix, since the documentation doesn't mention it...