5W site logo 5W - мой домашний сайт-блог с картинками, кино и плюшками.

convert-resize-width-proportional-keep.txt

Resize width to x pixels while keeping w/h ration

$ convert -resize [desired width] input.jpg output.jpg will keep proportions.
-------------------------------------------------------
batch will resize
for i in *.jpg; do echo "$i"; convert "$i" -resize 50x "$i"; done

50x will do width as it is width x height format.