[magick-users] how to resize an image based on its alignment
(protrate or landscape)?
Scott
scotbicknel at cox.net
Mon Feb 11 10:48:15 PST 2008
On Monday 11 February 2008 10:30:29 am kdsfinger at gmail.com 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
More information about the Magick-users
mailing list