ImageMagick-Convert, resize width, keep aspect
Id like to resize my images to be a width of 200, but keep the same aspect ratio.
anyone help me with this, shouldent be too hard |
got it
for i in *.jpg; do echo "$i"; convert "$i" -resize x50 "$i"; done |
sorry to revive an old thread but I came across this during a search. The above is correct but will resize in height rather than width.
for i in *.jpg; do echo "$i"; convert "$i" -resize 50x "$i"; done 50x will do width as it is width x height format. |
All times are GMT -5. The time now is 12:53 AM. |