On Feb 11, 2008 1:48 PM, Scott <[EMAIL PROTECTED]> wrote: > > On Monday 11 February 2008 10:30:29 am [EMAIL PROTECTED] wrote: > > hi, there > > I have a bunch of images mixed with portrate and landscape > > alignment. Now I want to resize them so that the maxim side > > (horizontal for landscape or vertical for portrate) is set to > > a fixed number, say, 100. I know geometry or resize can do the > > job if I know which side is set to the fixed number. How can I > > write a bash script to do that? Thanks for your help. > > zl2k > > -resize 100 will let the software scale the image without you > having to figure it out. > -- > Scott > Linux user #: 246504 >
I tried, it will always resize the horizontal side to the fixed length, no matter how the alignment is. That's not what I need. I need to resize the vertical side for the portrat and horizontal side for the landscape. Thanks anyway. zl2k _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
