[prev in list] [next in list] [prev in thread] [next in thread]
List: imagemagick-user
Subject: Re: [magick-users] convert landscape and portrait files
From: Mikolaj Machowski <mikmach () wp ! pl>
Date: 2010-09-27 17:56:36
Message-ID: 201009271956.37555.mikmach () wp ! pl
[Download RAW message or body]
On Monday 27 September 2010 15:21:00 blau wrote:
> I have some dozen jpg files together, some landscape oriented, some
> portrait.
> How do I convert the jpgs, so that the width only is always (eg) 500 px ?
>
> When I convert it as below, the longest between width/height gets
> resized to 500 px.
>
> blau:~$ for i in *.jpg; do convert "$i" -resize 500 \
> "${i//.jpg}"-500.jpg; done
Try -resize "500x" <- you have to tell IM which (width/height) is important
m.
_______________________________________________
Magick-users mailing list
Magick-users@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic